Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Implement API for file list filters #1027

Merged
merged 2 commits into from
Jul 25, 2024
Merged

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Jul 24, 2024

The API allows to create file list filters.

The basic filter just provides a filter function, while you could also register a visual entry.
I played with custom elements (aka web components) as this is probably the way to go in the future, but with Vue2 it seems to be more complex than I could invest time, so went the legacy way and just add a callback function that gets the root element where to render its component.

@susnux susnux added type: enhancement 🚀 New feature or request 3. to review 3️⃣ Waiting for reviews labels Jul 24, 2024
@susnux susnux requested review from skjnldsv and Pytal July 24, 2024 18:37
Copy link

codecov bot commented Jul 24, 2024

Bundle Report

Changes will increase total bundle size by 36.44kB ⬆️

Bundle name Size Change
@nextcloud/files-esm 116.69kB 18.14kB ⬆️
@nextcloud/files-esm-cjs 118.07kB 18.29kB ⬆️

@susnux susnux force-pushed the feat/file-list-filters branch from ae4d2b5 to b20b328 Compare July 24, 2024 19:27
Copy link
Contributor

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only issue is the wording of the events :)

susnux and others added 2 commits July 25, 2024 10:08
Co-authored-by: John Molakvoæ <[email protected]>
Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux force-pushed the feat/file-list-filters branch from 88b03ee to aeffba3 Compare July 25, 2024 08:08
@skjnldsv skjnldsv merged commit 24da851 into main Jul 25, 2024
15 of 17 checks passed
@skjnldsv skjnldsv deleted the feat/file-list-filters branch July 25, 2024 08:15
@susnux susnux mentioned this pull request Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review 3️⃣ Waiting for reviews type: enhancement 🚀 New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants