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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add FileListHeader #717

Merged
merged 1 commit into from Aug 5, 2023
Merged

feat: add FileListHeader #717

merged 1 commit into from Aug 5, 2023

Conversation

skjnldsv
Copy link
Contributor

@skjnldsv skjnldsv commented Aug 4, 2023

Ref: nextcloud/server#17482

It seems no one is using the footer API in years. I think it's time to drop it 馃し

@skjnldsv skjnldsv added the enhancement New feature or request label Aug 4, 2023
@skjnldsv skjnldsv self-assigned this Aug 4, 2023
@skjnldsv skjnldsv requested review from susnux and ShGKme August 4, 2023 09:22
Signed-off-by: John Molakvo忙 <skjnldsv@protonmail.com>
/** Order */
order: number
/** Condition wether this header is shown or not */
enabled?: (folder: Folder, view) => boolean
Copy link
Contributor

Choose a reason for hiding this comment

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

Should the view be typed somehow?

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree we should have the view types (if possible)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, we haven't migrated it from server yet! Was maing sure no changes were needed (I had to adjust quite a lot at the beginning)

Copy link
Contributor

@juliushaertl juliushaertl left a comment

Choose a reason for hiding this comment

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

Looks good, just a small question on the view parameter typing.

Copy link
Contributor

@susnux susnux left a comment

Choose a reason for hiding this comment

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

Same as Julius just the view typing

@skjnldsv skjnldsv merged commit 52b321e into master Aug 5, 2023
8 checks passed
@skjnldsv skjnldsv deleted the feat/files-header branch August 5, 2023 09:56
@skjnldsv skjnldsv mentioned this pull request Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants