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

Show alerts in UI #883

Merged
merged 2 commits into from
Dec 22, 2023
Merged

Show alerts in UI #883

merged 2 commits into from
Dec 22, 2023

Conversation

iskakaushik
Copy link
Contributor

@iskakaushik iskakaushik commented Dec 22, 2023

Screenshot 2023-12-23 at 2 15 37 AM Screenshot 2023-12-23 at 2 00 26 AM

@iskakaushik iskakaushik merged commit c478a37 into main Dec 22, 2023
10 checks passed
iskakaushik added a commit that referenced this pull request Dec 25, 2023
## UI Improvement Features
These are some features which I thought would be nice to get in. At the
end of the day, these are just proposals from my end.

### Mirror Create Pages: Error Toasts And Floating Button
We now show errors as toasts and have the Create Mirror button with a
fixed position on the bottom-right. Users now don't have to do a lot of
scrolling up and down to look at the error message, come back, and click
create.

<img width="1461" alt="Screenshot 2023-12-23 at 10 26 14 PM"
src="https://github.com/PeerDB-io/peerdb/assets/65964360/a21c2b23-bddc-4c56-91df-962f02b64589">

### QRep Mirror: Upsert Columns
Selection of Unique Key Columns for QRep Upsert mode now looks like
this, saving users from having to type out columns. Also added
validation for the columns being an empty array.

<img width="1461" alt="Screenshot 2023-12-23 at 9 49 35 PM"
src="https://github.com/PeerDB-io/peerdb/assets/65964360/42b6beb9-afb9-44aa-a55f-8973958ec30f">

### Better Tabs UI for Mirror Overview
I thought the tabs we have there look unpolished so used Tremor to come
up with this. This also achieves significant code reduction in that
file.

<img width="1726" alt="Screenshot 2023-12-23 at 11 37 58 PM"
src="https://github.com/PeerDB-io/peerdb/assets/65964360/23b623ec-82c0-4df4-9e9d-32560a6c0d91">

### Wiring Status in Mirror Overview Page
Wires in the Status we show in the mirror overview page. This is a
follow-up to #883

<img width="601" alt="Screenshot 2023-12-23 at 10 28 23 PM"
src="https://github.com/PeerDB-io/peerdb/assets/65964360/9fe08a47-c774-496b-8417-02a27fcee034">

### Others
- Removes 'Authentication failed' message in login landing page.
- Makes the source-destination table list in Mirror Overview page have
scrollable height and sticky headers
- Error table now has time column before message column and the rows are
sorted by timestamp (latest first)

---------

Co-authored-by: Kaushik Iska <[email protected]>
@serprex serprex deleted the alerts-in-ui branch July 19, 2024 15:21
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.

3 participants