Skip to content

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 type: enhancement 🚀 New feature or request label Aug 4, 2023
@skjnldsv skjnldsv requested a review from juliusknorr August 4, 2023 09:17
@skjnldsv skjnldsv self-assigned this Aug 4, 2023
@skjnldsv skjnldsv force-pushed the feat/files-header branch from 8e621eb to 1568e62 Compare August 4, 2023 09:19
@skjnldsv skjnldsv requested review from ShGKme and susnux August 4, 2023 09:22
@skjnldsv skjnldsv added the 3. to review 3️⃣ Waiting for reviews label Aug 4, 2023
Signed-off-by: John Molakvoæ <[email protected]>
/** 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

@juliusknorr juliusknorr 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
@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 3️⃣ Waiting for reviews type: enhancement 🚀 New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants