-
Notifications
You must be signed in to change notification settings - Fork 8
feat: redesign Connections and Environments pages with rich tables and stepped Drawers #75
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
Open
wicky-zipstack
wants to merge
12
commits into
main
Choose a base branch
from
feat/connections-page-redesign
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 8 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
dc765e1
feat: redesign Connections page with rich table and stepped Drawer
wicky-zipstack 1b7d493
feat: redesign Environments page + BE API enhancements
wicky-zipstack bb482f7
feat: nested ConnectionDrawer from EnvironmentDrawer + New connection…
wicky-zipstack d376890
fix: move Refresh button from header to filter bar row in EnvList
wicky-zipstack f6bd778
feat: add job_count and project_count to environment list API
wicky-zipstack 2274db7
fix: add db_icon, host, connection_flag to single environment API res…
wicky-zipstack f3e25aa
fix: address PR review — N+1 queries, decryption, memo, dead code
wicky-zipstack a0c5ec7
fix: address Tahier's PR #75 review — blockers + code quality
wicky-zipstack 2c784dd
fix: distinct=True on Count annotations + testingIds in useMemo deps
wicky-zipstack 110abcf
fix: drop explicit page args from test handlers to avoid stale closure
wicky-zipstack a0344be
fix: button labels + env delete dependency warning
wicky-zipstack d91acc1
fix: set is_tested=True on environment create and update
wicky-zipstack File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Must Fix:
_get_host_display()decrypts passwords/tokens unnecessarilycon_model.decrypted_connection_detailsruns Fernet decryption on every sensitive field (password, api_key, token, connection_url, etc.) — but this function only reads non-sensitive fields likehost,port,account,project_id.These fields are stored as plaintext in the DB (only fields in
SENSITIVE_FIELDSare encrypted). So you can readconnection_detailsdirectly and skip decryption entirely:This eliminates Fernet CPU overhead on every row in the list API (20 connections × decryption = noticeable on page load).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in f3e25aa — now reads
connection_detailsdirectly (the raw JSON) instead ofdecrypted_connection_details. Host, port, account, project_id are all plaintext — no Fernet decryption needed.