Skip to content

Conversation

@provokateurin
Copy link
Member

Summary

We have one PWA per app, so the navigation bar doesn't make sense and takes up unnecessary space. The users can still use the navigation bar in the browser and open the settings and other non-app pages like that.

Checklist

@provokateurin provokateurin added this to the Nextcloud 32 milestone Jul 29, 2025
@provokateurin provokateurin requested a review from a team as a code owner July 29, 2025 13:24
@provokateurin provokateurin requested review from artonge, skjnldsv and sorbaugh and removed request for a team July 29, 2025 13:24
Copy link
Member

@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.

One comment otherwise good

@provokateurin provokateurin force-pushed the feat/core/pwa-hide-header branch from cf6d548 to 09fcfc3 Compare July 29, 2025 15:37
@provokateurin provokateurin requested a review from susnux July 29, 2025 15:37
@susnux susnux requested review from szaimen and removed request for artonge July 30, 2025 02:44
Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

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

I just tested this and it looks like this leads to a huge gap at the bottom. So I guess some additional css needs to be changed in this block. See
image

@provokateurin
Copy link
Member Author

Good catch, I saw this as well, but somehow dismissed it as "normal".

@szaimen
Copy link
Contributor

szaimen commented Jul 31, 2025

This is how the PR looks for me in a normal browser tab, so I actually think that the bug is caused by this PR
image

@provokateurin provokateurin force-pushed the feat/core/pwa-hide-header branch from 09fcfc3 to 434c5ce Compare July 31, 2025 11:09
@provokateurin
Copy link
Member Author

Enough CSS adventures for me today :D

@provokateurin provokateurin requested a review from szaimen July 31, 2025 11:09
Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

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

Tested again and seems to work as intended now :)
But did not review the code

@provokateurin provokateurin requested a review from skjnldsv July 31, 2025 11:48
@skjnldsv
Copy link
Member

skjnldsv commented Aug 1, 2025

/compile rebase

@skjnldsv
Copy link
Member

skjnldsv commented Aug 1, 2025

/compile rebase

Ah lol, it does not solve conflicts in css folders :p

Signed-off-by: provokateurin <kate@provokateurin.de>
@skjnldsv skjnldsv force-pushed the feat/core/pwa-hide-header branch from 434c5ce to 4c7e85e Compare August 1, 2025 07:18
@skjnldsv skjnldsv merged commit 04c64fa into master Aug 1, 2025
122 of 123 checks passed
@skjnldsv skjnldsv deleted the feat/core/pwa-hide-header branch August 1, 2025 07:24
@szaimen
Copy link
Contributor

szaimen commented Aug 1, 2025

FYI @pulsejet

@skjnldsv skjnldsv mentioned this pull request Aug 19, 2025
@szaimen
Copy link
Contributor

szaimen commented Sep 5, 2025

@provokateurin somehow this breaks Talk after the update to nc32 rc1 on c.nc.c:
image
Can you please check?

@susnux
Copy link
Contributor

susnux commented Sep 5, 2025

Talk adds custom styles conflicting with server styles. cc @Antreesy

@provokateurin somehow this breaks Talk after the update to nc32 rc1 on c.nc.c: image Can you please check?

}

#content, #content-vue {
margin-top: var(--body-container-margin);
Copy link
Contributor

Choose a reason for hiding this comment

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

Styles collide, but they're not from Talk, it's all server styles imported at different order

Files Talk
Image Image

As you're using id and not class, it's by default less important, and should be forced

Suggested change
margin-top: var(--body-container-margin);
margin-top: var(--body-container-margin) !important;

Copy link
Contributor

Choose a reason for hiding this comment

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

See #55027

@nightred
Copy link

User account details are not accessible in the per app PWA, when forcing the PWA to be the root of Nextcloud instance all apps loaded properly and full admin and user access in the PWA worked.
There is still a massive gap at the bottom of the page when using PWA mode.
Unable to access settings or admin when in PWA mode now.

@szaimen
Copy link
Contributor

szaimen commented Sep 29, 2025

This was reverted with #55397

@skjnldsv skjnldsv modified the milestones: Nextcloud 33, Nextcloud 32 Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hide navigation bar in standalone PWA

7 participants