Skip to content

PB-1216: Add warning on sharing when there is a local files.#1136

Merged
ismailsunni merged 18 commits intodevelopfrom
pb-1216-warning-sharing-local-file
Dec 18, 2024
Merged

PB-1216: Add warning on sharing when there is a local files.#1136
ismailsunni merged 18 commits intodevelopfrom
pb-1216-warning-sharing-local-file

Conversation

@ismailsunni
Copy link
Contributor

@ismailsunni ismailsunni commented Nov 26, 2024

image

Let me know if there is suggestion for the warning text.

Test link

@ismailsunni ismailsunni requested review from ltkum and pakb November 26, 2024 07:09
@cypress
Copy link

cypress bot commented Nov 26, 2024

web-mapviewer    Run #4128

Run Properties:  status check passed Passed #4128  •  git commit bfb45aecac: Merge pull request #1136 from geoadmin/pb-1216-warning-sharing-local-file
Project web-mapviewer
Branch Review develop
Run status status check passed Passed #4128
Run duration 01m 45s
Commit git commit bfb45aecac: Merge pull request #1136 from geoadmin/pb-1216-warning-sharing-local-file
Committer Ismail Sunni
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 1
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 48
View all changes introduced in this branch ↗︎

Copy link
Contributor

@pakb pakb left a comment

Choose a reason for hiding this comment

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

I think it would make more sense to have the "Share link input" and its button with this yellow-ish color, and a tooltip that shows when we hover it stating what you've added in the warning message.

Having a warning message popping up each time you open the share section is not ideal and not comfortable for users IMO

@pakb
Copy link
Contributor

pakb commented Nov 28, 2024

image
Can you try keeping the text color unchanged, and change the background of the input instead? (Maybe have a border with the same color but darker).
I find it a bit hard to read what's there with yellow over white background

@ismailsunni ismailsunni force-pushed the pb-1216-warning-sharing-local-file branch from 3532dd4 to 1f7f57f Compare December 3, 2024 07:32
@ismailsunni
Copy link
Contributor Author

@pakb here is updated style for the warning.
image
I have added the e2e test also.

@ismailsunni ismailsunni force-pushed the pb-1216-warning-sharing-local-file branch 8 times, most recently from 51246cd to 898cb5c Compare December 10, 2024 05:25
@ismailsunni ismailsunni requested a review from pakb December 10, 2024 05:30
@ismailsunni ismailsunni force-pushed the pb-1216-warning-sharing-local-file branch from 1a0229a to 9e24b45 Compare December 16, 2024 16:50
@ismailsunni ismailsunni requested a review from pakb December 17, 2024 03:08
@ismailsunni ismailsunni force-pushed the pb-1216-warning-sharing-local-file branch from 9e24b45 to f379ff1 Compare December 18, 2024 00:19
@ismailsunni ismailsunni merged commit bfb45ae into develop Dec 18, 2024
@ismailsunni ismailsunni deleted the pb-1216-warning-sharing-local-file branch December 18, 2024 01:01
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.

2 participants