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

fix: description on readonly boards #1674

Conversation

Ornanovitch
Copy link
Contributor

@Ornanovitch Ornanovitch commented Sep 14, 2024

After many attempts, I was finally able to make it! Tested with a prod server, with and without readonly boards, everything works as expected :)

Before After
desc-before desc-after

But I must admit I am not fully confident with the code, I never tried to play with java code before, so I don't even understand completely why those peace of code were missing...

I'd love to have your feedbacks @stefan-niedermann

binding.descriptionEditor.setEnabled(false);
binding.descriptionEditorWrapper.setVisibility(GONE);
binding.descriptionViewer.setEnabled(false);
binding.descriptionViewer.setEnabled(true);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This change is not necessary to view the description, but it seems mandatory to interact with it (links, selection...)

@@ -123,7 +123,7 @@
android:textIsSelectable="true"
android:textSize="@dimen/font_size_description"
android:translationY="1dp"
android:visibility="gone" />
android:visibility="visible" />
Copy link
Contributor Author

Choose a reason for hiding this comment

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

nothing works without this

@stefan-niedermann
Copy link
Owner

Thank you for the contribution! I'm currently on vacation and will try to review the changes after Sept 25th.

@Ornanovitch
Copy link
Contributor Author

@stefan-niedermann sorry to bump you again, but I'd love to be able to use the app with read-only shared boards again, hence I kindly ask you if you're able to review and merge this soon?

@desperateCoder
Copy link
Collaborator

@Ornanovitch Sorry for the delay, @stefan-niedermann is quite busy right now, life hits hard at a certain age. Feel free to bump every here and then, but I guess he'll review it as soon as he can. You're not have been forgotten, i promise!

@Ornanovitch
Copy link
Contributor Author

Thanks @desperateCoder I really appreciate the feedback!

@stefan-niedermann
Copy link
Owner

Yes, I'm very sorry for the delay, you haven't been forgotten though.

@stefan-niedermann stefan-niedermann merged commit 6374734 into stefan-niedermann:master Dec 3, 2024
6 checks passed
@stefan-niedermann
Copy link
Owner

@Ornanovitch thank you very much for your contribution. I am very sorry for the long delay, but in the end the changes are in the master now and will be included in the next release (probably 1.24.2).

@Ornanovitch
Copy link
Contributor Author

Thanks a lot! I'm so glad :)

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.

card's description of shared boards invisible with read only permission
3 participants