minicomp / wax-facets Goto Github PK
View Code? Open in Web Editor NEWThe second Wax theme. Good times.
Home Page: https://minicomp.github.io/wax-facets/
License: Other
The second Wax theme. Good times.
Home Page: https://minicomp.github.io/wax-facets/
License: Other
this help avoids unlucky coincidences with Bootstrap or other CSS frameworks. I found out by have an object type called "badge" and then learning that's a Bootstrap class too.
maybe needs a specific version of bootstrap?
It's literally the same, just with different vocabulary
collection_gallery should be facet gallery in the comment
I've attempted to leverage the Subset Collection with Facets functionality on this branch of my project: https://github.com/atlantichabitatmodels/data/tree/subcollection-facets
The syntax looks correct, and I've tested locally & deployed to my GitHub pages repo with no success. Any help or suggestions is much appreciated!!
think it's all of the iconic font files:
<link href="{{ '/assets/iconic/font/css/open-iconic-bootstrap.css' | relative_url }}" rel="stylesheet">
assets/iconic
folderRight now everything becomes underlined as a link
Is there guidance on how to incorporate this facets theme into an existing Wax site?
Is it possible to display multi-value data with a prettier separator on item layout pages? For example, my jurisdiction
facet has multi-values separated by pipes, and displays these pipes on my item layout (example: https://atlantichabitatmodels.github.io/data/inputs/accdc/). It would be nice to print them with a comma instead ๐
I guess I could use comma as my multi-value separator to solve this issue?
Hello Team,
We were facing some limit usage issues while hosting website with GitHub Pages due to huge number of images and its derivatives being used in the theme. As derivatives are generated during build and while replacing it with a CDN image it should allow us to take derivatives from CDN as well.
Please advise if there is any working example using CDN to render images and derivative.
I'm getting this error:
Liquid error (/Users/qad/Documents/GitHub/wax-facets/_includes/collection_gallery.html line 26): Cannot sort a null object. included (Liquid::ArgumentError)
when I modify the line on the browse page to be:
{% include collection_gallery.html collection='brueghel' facet_by='object_type|genre|tags|location_city' num_column=4 %}
Most of the objects have values for those facets, but not all do. If I fill in "N/A" or something to make the facet work, it'll look bad on the item page because the labels only show up when there's a value (which is convenient for hiding labels where there's no data).
the code we're telling people to copy from our style sheet has a ref to $dark-text. If we leave it in, we should update the docs to tell people to edit that part.
Add info to the docs making it easier for folks to move the javascript around.
Thanks for wax-facets!
I'm getting this error message, working from my local machine:
Liquid error (/Users/ansleyerickson/Desktop/modern/_includes/subset_gallery.html line 2): Cannot sort a null object. included (Liquid::ArgumentError)
[Now on github here - https://github.com/ansleyerickson/modern]
This seemed kind of like what was described here #23 so I fixed the "tags" field to "_tags" and reran the tasks, but I'm getting the same message.
Not sure if this is a relevant test, but with the metadata fixed as above (and not using any other terms to avoid, as far as I know) I then returned to the original Wax theme with the same data, and was able to get the tasks completed and site served up. That one is here https://github.com/ansleyerickson/modernwax
I'm using the wax-facets theme to build a very rudimentary data catalogue.
Unfortunately, the gallery.html
faceted search only works on one facet: marine_terrestrial_freshwater
. For all other facets, nothing is returned by clicking the checkboxes. I am at a loss.. I've experimented with a few things but my lack of in-depth knowledge of Jekyll and Javascript has limited me. Any help is much appreciated!
You can see the behaviour here: https://atlantichabitatmodels.github.io/data/catalogue/
PurgeCSS for CSS
Do we want users to navigate through their previously faceted selections, or the whole collection, once they arrive at the item page?
Hi! On a new install using just this repo, I tried to run the search index rake task and got this error:
bundle exec rake wax:search qatar --trace
** Invoke wax:search (first_time)
** Execute wax:search
rake aborted!
WaxTasks::Error::InvalidConfig:
/Users/qad/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/wax_tasks-1.1.2/lib/wax_tasks/config.rb:58:in search' /Users/qad/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/wax_tasks-1.1.2/lib/wax_tasks/site.rb:59:in
generate_static_search'
/Users/qad/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/wax_tasks-1.1.2/lib/tasks/search.rake:13:in block (3 levels) in <top (required)>' /Users/qad/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/wax_tasks-1.1.2/lib/tasks/search.rake:13:in
each'
/Users/qad/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/wax_tasks-1.1.2/lib/tasks/search.rake:13:in block (2 levels) in <top (required)>' /Users/qad/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/task.rb:281:in
block in execute'
/Users/qad/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/task.rb:281:in each' /Users/qad/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/task.rb:281:in
execute'
/Users/qad/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/task.rb:219:in block in invoke_with_call_chain' /Users/qad/.rbenv/versions/2.6.0/lib/ruby/2.6.0/monitor.rb:230:in
mon_synchronize'
/Users/qad/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/task.rb:199:in invoke_with_call_chain' /Users/qad/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/task.rb:188:in
invoke'
/Users/qad/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/application.rb:160:in invoke_task' /Users/qad/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/application.rb:116:in
block (2 levels) in top_level'
/Users/qad/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/application.rb:116:in each' /Users/qad/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/application.rb:116:in
block in top_level'
/Users/qad/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/application.rb:125:in run_with_threads' /Users/qad/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/application.rb:110:in
top_level'
/Users/qad/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/application.rb:83:in block in run' /Users/qad/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/application.rb:186:in
standard_exception_handling'
/Users/qad/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/application.rb:80:in run' /Users/qad/.rbenv/versions/2.6.0/lib/ruby/gems/2.6.0/gems/rake-13.0.3/exe/rake:27:in
<top (required)>'
/Users/qad/.rbenv/versions/2.6.0/bin/rake:23:in load' /Users/qad/.rbenv/versions/2.6.0/bin/rake:23:in
<top (required)>'
/Users/qad/.gem/ruby/2.6.0/gems/bundler-2.2.4/lib/bundler/cli/exec.rb:63:in load' /Users/qad/.gem/ruby/2.6.0/gems/bundler-2.2.4/lib/bundler/cli/exec.rb:63:in
kernel_load'
/Users/qad/.gem/ruby/2.6.0/gems/bundler-2.2.4/lib/bundler/cli/exec.rb:28:in run' /Users/qad/.gem/ruby/2.6.0/gems/bundler-2.2.4/lib/bundler/cli.rb:494:in
exec'
/Users/qad/.gem/ruby/2.6.0/gems/bundler-2.2.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in run' /Users/qad/.gem/ruby/2.6.0/gems/bundler-2.2.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in
invoke_command'
/Users/qad/.gem/ruby/2.6.0/gems/bundler-2.2.4/lib/bundler/vendor/thor/lib/thor.rb:392:in dispatch' /Users/qad/.gem/ruby/2.6.0/gems/bundler-2.2.4/lib/bundler/cli.rb:30:in
dispatch'
/Users/qad/.gem/ruby/2.6.0/gems/bundler-2.2.4/lib/bundler/vendor/thor/lib/thor/base.rb:485:in start' /Users/qad/.gem/ruby/2.6.0/gems/bundler-2.2.4/lib/bundler/cli.rb:24:in
start'
/Users/qad/.gem/ruby/2.6.0/gems/bundler-2.2.4/exe/bundle:49:in block in <top (required)>' /Users/qad/.gem/ruby/2.6.0/gems/bundler-2.2.4/lib/bundler/friendly_errors.rb:130:in
with_friendly_errors'
/Users/qad/.gem/ruby/2.6.0/gems/bundler-2.2.4/exe/bundle:37:in <top (required)>' /Users/qad/.rbenv/versions/2.6.0/bin/bundle:23:in
load'
/Users/qad/.rbenv/versions/2.6.0/bin/bundle:23:in `
right now loading javascript for facets in default layout and thus adding it to all pages unnecessarily. should create a new layout to load the javascript that is only used for pages with a facet gallery.
change orange to the purple used in diagram callouts (as opposed to burgundy)
aggressive flashing when typing, generally poor style of results
Images are appearing in correct proportion in the item's page
(ex. https://harlemeducationhistoryproject.github.io/wadleigh/exh/wad001.html)
but appear with altered proportions when included on another page (ex. https://harlemeducationhistoryproject.github.io/wadleigh/).
bundle install fails because nokigiri 1.11.1 is incompatible with ruby 3.1 and higher.
Do we want cookies?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.