Skip to content

troublshooting Filters #28

Description

@christinerogers

test page is : https://3design.github.io/gbc/network-test/

Not clear if still to be tried :

Deciding how/if to configure / deploy for the news/event page :

  • for network expertise they filters are all Selected default On -> clicking deselects and removes ppl from view
  • for Events, we want all events visible, and in 1 click a filter should show "only" that type of news/events -> click to exclusively select instead of deselect
  • (or do we...?)

Steps so far (aug 29):
Duplicated page and un-commented the code on line 81-90 to show the filter again
Successfully added a new filter as per the README. The file to edit filters is located in /src/_data/expertiseTags.json
This new tag can be added by editing the file /src/raw_data/people.tsv
examined the code on network-test.njk. The code that defines the filter is on line 76 using x-data in the

. x-data is part of a JS library https://alpinejs.dev/.
looked up information on x-data on the alpine site here: https://alpinejs.dev/directives/data
in the code of network-test.njk on line 76 and elsewhere, there is a call for the file expertiseTags.tags . Did a search on my local folder for this file and the only hit is the .json file

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions