Skip to content

Fix grid toggle button on public page - #13514

Merged
MorrisJobke merged 1 commit into
masterfrom
fix-public-grid-toggle
Feb 25, 2019
Merged

Fix grid toggle button on public page#13514
MorrisJobke merged 1 commit into
masterfrom
fix-public-grid-toggle

Conversation

@skjnldsv

Copy link
Copy Markdown
Member

Broken by #12385
Fix#13375

@skjnldsvskjnldsv added bug design Design, UI, UX, etc. 3. to review Waiting for reviews regression labels Jan 11, 2019
@skjnldsvskjnldsv added this to the Nextcloud 16 milestone Jan 11, 2019
@skjnldsvskjnldsv self-assigned this Jan 11, 2019
@skjnldsv

Copy link
Copy Markdown
MemberAuthor

/backport to stable15

@jancborchardt

Copy link
Copy Markdown
Member

Please review @R0mannn@myevit @Bellusterra as it fixes the issue you reported at #13375 :)

@ChildLearningClub

ChildLearningClub commented Jan 11, 2019

Copy link
Copy Markdown

Thank you @jancborchardt for the heads up and @skjnldsv for finding the issue.

juliusknorr
juliusknorr previously requested changes Jan 11, 2019

@juliusknorrjuliusknorr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We still need to keep the check, otherwise we have the button on single file shares as well:

image

@jancborchardtjancborchardt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Also, the button should not have the button style (background and border), just like when logged in. :)

@juliusknorrjuliusknorr added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Jan 14, 2019
@weeman1337

Copy link
Copy Markdown
Member

Since there are several issues with the grid button, maybe it makes sense to put some tests in for that!

@skjnldsv

Copy link
Copy Markdown
MemberAuthor

@weeman1337 sure! Wanna help? :D

@weeman1337

Copy link
Copy Markdown
Member

sure! Wanna help? :D

I knew that would come :) A ticket for me: #13613

@myevit

Copy link
Copy Markdown

Hi guys, so sharing link though the gallery app has toggle button, once I press it it goes to file list and the button disappears

Also "Download" and "Download all files" :-)

https://victorsea.photography/nextcloud/index.php/apps/gallery/s/6iRrgxTNTmdF5eJ#
screen shot 2019-01-17 at 14 59 13
screen shot 2019-01-17 at 14 59 25

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
@skjnldsv
skjnldsvforce-pushed the fix-public-grid-toggle branch from e3d4cb4 to ee2c45dCompareFebruary 21, 2019 08:18
@skjnldsv
skjnldsv dismissed stale reviews from juliusknorr and jancborchardtFebruary 21, 2019 08:18

Done

@skjnldsvskjnldsv added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Feb 21, 2019
@skjnldsv

Copy link
Copy Markdown
MemberAuthor

This one slipped through!
@nextcloud/designers please review!
@jancborchardt@juliushaertl please update 🙇‍♀️

@jancborchardtjancborchardt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good now!

@MorrisJobkeMorrisJobke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Tested and works 👍

@MorrisJobke
MorrisJobke merged commit ee68e8f into masterFeb 25, 2019
@MorrisJobke
MorrisJobke deleted the fix-public-grid-toggle branch February 25, 2019 20:18
@backportbot-nextcloud

Copy link
Copy Markdown

backport to stable15 in #14376

@digitall-it

digitall-it commented Jul 2, 2020

Copy link
Copy Markdown

Old behavior of the toggle was to change the URL on the top, so that it was possible to permalink to gallery view and the link to point to gallery view on page load. Latest versions of NextCloud do not allow that anymore because the toggle does not change add any URL fragment to account for that. Is there a way to at least manipulate the URL manually to achieve the same result? Tried on v18.0.6.

@PatriceVigier

Copy link
Copy Markdown

It would be great to be able to decide how we want to share a folder, list or thumb

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a thumbnail/grid view to folders shared via public link

9 participants

@skjnldsv@jancborchardt@ChildLearningClub@weeman1337@myevit@digitall-it@PatriceVigier@MorrisJobke@juliusknorr