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

Add tiles view mode #1096

Merged
merged 1 commit into from
Aug 23, 2023
Merged

Add tiles view mode #1096

merged 1 commit into from
Aug 23, 2023

Conversation

michaelschattgen
Copy link
Member

This PR adds a tile view as previously discussed in multiple issues but mainly #547.

image

Closes #547

Copy link
Member

@alexbakker alexbakker left a comment

Choose a reason for hiding this comment

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

Looks nice! Other than a couple of nitpicks the changes look good to me.

I noticed a couple of interesting bugs though:

  • It makes sense that 8-digit HOTP entries take some extra space. If I move a regularly sized card to a spot with a larger one next to it, the smaller one grows to be the same size as the large one. That makes sense. If I move it back to its original spot however, it stays the same size. Once a refresh happens, it snaps back to its original size. Demo: https://alexbakker.me/u/1upmhthhz7.mp4.
  • If I move an entry one spot down and then select the entry that took its place, something odd happens that's kind of hard to describe: https://alexbakker.me/u/w73e6v6nk8.mp4.

app/src/main/res/drawable-v24/rounded_card_entry.xml Outdated Show resolved Hide resolved
app/src/main/res/values/arrays.xml Outdated Show resolved Hide resolved
@michaelschattgen
Copy link
Member Author

Both issues are fixed and PR can be reviewed again.

@michaelschattgen michaelschattgen force-pushed the feature/view-mode-tiles branch 5 times, most recently from 047a530 to e1f5e57 Compare August 23, 2023 02:12
@michaelschattgen
Copy link
Member Author

Resolved merge conflicts from master (again) and removed the superfluous 'swap' function.

Minor UI improvements
Fix animations
Fix typo
Improvements made after PR review
PR improvements

Co-authored-by: Alexander Bakkker <[email protected]>
@alexbakker alexbakker merged commit 3e35215 into master Aug 23, 2023
5 checks passed
@alexbakker alexbakker deleted the feature/view-mode-tiles branch August 23, 2023 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Grid view layout
2 participants