Skip to content

1595/instance filtering2#1614

Open
chrissolanilla wants to merge 8 commits intoucfopen:masterfrom
chrissolanilla:1595/Instance-Filtering2
Open

1595/instance filtering2#1614
chrissolanilla wants to merge 8 commits intoucfopen:masterfrom
chrissolanilla:1595/Instance-Filtering2

Conversation

@chrissolanilla
Copy link
Contributor

Instance Filtering

In this PR I added 7 buttons that act as filters in the My Widgets page of Materia. The filters include filtering by if an instance is a Draft, Published, Limited Attempts, Is Open, Is Expired, Guest Access, and Is Embedded. This PR is nearly identical to my 1595/instance-filtering branch but without the unrelated commits.

While filtering instances based on score data is possible, it may require significant structural changes to optimize performance. Potential changes could include:

  • Table Indexing
  • Aggregate Queries
  • Caching Methods (e.g., Redis)
  • Creating a New Table for Score Retrieval

However, these enhancements would go beyond the scope of this pull request.

Changes

In addition to adding filters, I have also refactored some of the html and css for the existing page to be more maintainable such as getting rid of absolute positioning, random margins, and opted to use flex and grid layouts to achieve the same look and so it could work with my new front end components.

The main front-end component I added was checkbox-button.jsx which is a nice toggle button built using a hidden checkbox and a parent div with it's own custom styles included with focus support and voice-over accessibility.

@clpetersonucf clpetersonucf deleted the branch ucfopen:master December 12, 2024 14:42
@clpetersonucf clpetersonucf reopened this Dec 12, 2024
@clpetersonucf clpetersonucf changed the base branch from dev/10.3.0 to master December 12, 2024 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants