-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Migrating Vue components to React and stores refactoring #585
Merged
Merged
Changes from 1 commit
Commits
Show all changes
192 commits
Select commit
Hold shift + click to select a range
d7cffeb
store migrations refactoring
ixrock 776fc44
use common/utils/singleton class for the stores
ixrock e7975ec
clean up
ixrock f9c0c5d
Merge remote-tracking branch 'origin/master' into vue_react_migration
ixrock c9fb015
master-merge fixes
ixrock 4270ec4
tracker / user-store refactoring, part 1
ixrock deea97e
added "logger" to user-store
ixrock 387bc07
fix errors
ixrock 9d42b2c
user-store: more debug logging
ixrock 397d7c5
user-store: more fixes
ixrock 9244e8f
user-store: more fixes 2
ixrock 5c8dd89
incorrect seen context update -- fixed vue-store mutation
ixrock a27ce9c
use common/base-store for config-file based stores (e.g. user-store)
ixrock d4bbaf4
workspace-store refactoring
ixrock afb5469
cluster-store refactoring -- part 1
ixrock 9f97015
fix type imports
ixrock 17cd886
cluster-store refactoring -- part 2
ixrock bde60b1
added common/ipc-helpers
ixrock f474a20
cluster-store refactoring -- part 3
ixrock cf00deb
added tracking cluster-manager's ipc events
ixrock 63de5fc
epic: getting rid of vue -- part 1
ixrock 1f26f0b
epic: getting rid of vue -- part 2
ixrock 434f26f
added dummy react files for replacing vue-components
ixrock b9089a7
more react dummy files
ixrock 4a06f65
added workspaces layout, more refactoring
ixrock 507e2dc
refactoring
ixrock ba4f5cb
workspaces: extract bottom-bar to separated component
ixrock a440f60
clusters-menu
ixrock ce1cccc
upgrade electron to latest version
ixrock cac4896
window-manager refactoring
ixrock 0e8187c
window-manager refactoring -- part 2
ixrock e1acf7e
night insomnia clean-up
ixrock 25e904d
night insomnia clean-up, part 2
ixrock b05ed98
window-manager tweaks
ixrock 6df56b5
cluster-manager view
ixrock 33d7036
refactoring
ixrock 8bb3954
clean up, debugging
ixrock e72e28d
refactoring
ixrock 5eca8bc
clean up / fixes
ixrock 186d69d
router refactoring / added more types
ixrock 35f081e
refactoring / fixes
ixrock 62eb0fa
fixes
ixrock 40da87c
port.ts refactoring
ixrock e7fc6b4
kubeconfig-manager.ts fixes / refactoring
ixrock aab9186
auto-refresh status only for active (selected) cluster
ixrock 002176a
clean up
ixrock a2b5ebb
api-fixes
ixrock 12472aa
update README.md
ixrock 4e88715
PoC: first run
ixrock fbcb2fd
apis / clusters-menu refactoring
ixrock 79e5d6e
fixes / refactoring
ixrock b8eaa65
added tooltip to cluster-icon.tsx, continue debugging windows-manager...
ixrock a305b04
stores sync fixes, refactoring
ixrock 67377af
cluster-store-3.6.0 migration regression fix
ixrock c06c322
store-sync-fixes, part 1
ixrock 547d7f8
fixes
ixrock e5aff1f
removed "electron-promise-ipc"
ixrock d20e61b
added more routes, refactoring
ixrock 717dfff
added landing-page
ixrock 47f6a2b
cluster-menu tooltip fixes
ixrock 693385a
added what-s-new page, fixes
ixrock ae9afc2
clean up
ixrock dec9d92
ipc refactoring, push-events handling
ixrock ab61fd6
auto-update clusters state in renderer stores
ixrock 10e6851
handle initial loading without clusters
ixrock 2a81860
clean up reused vue-parts
ixrock 5b98674
add-cluster page -- part 1
ixrock 3f8fe0f
cluster-state serialization fix
ixrock 89af715
traffic-light bgc fix
ixrock e14b524
show startup-hint tooltip when no-clusters
ixrock 285bcb4
fix: allow to drag window at top
ixrock a0831b3
added css-class "is-mac" to #app for customizing mac-specific styles
ixrock 33d3181
add-cluster -- part 2
ixrock e11d858
allow to remove cluster from icon's context-menu, random fixes
ixrock de77f48
extend #draggable-top area to header's height
ixrock 602f027
configure big folders to ignore for vscode (#593)
Nokel81 0dbb47a
Better log line when quitting Lens, close #480
ixrock a3edb75
improved singleton types inferring
ixrock d7d9c99
cluster-status -- part 1 (ex. ClusterPage.vue)
ixrock ef3962f
Merge remote-tracking branch 'origin/master' into vue_react_migration
ixrock 323a4c1
cluster-status -- part 2
ixrock 7356abc
cluster-status -- part 3
ixrock 01dd5fd
fix: cluster-icon badge margin
ixrock 2658a0a
fix: search-input warning, removed outdated `items-list.tsx`
ixrock 1510091
fix: terminal was broken at some point during refactoring
ixrock c0c1c22
clean-up/update "todo/fixme-comments"
ixrock 70bbb9f
cluster-ipc refactoring
ixrock a40a9fe
fix: "disconnect" cluster from clusters context-menu
ixrock 13c29a7
refactoring, fixes
ixrock 5040a43
refactoring, fixes
ixrock 684c1ed
fix: reloading page at Apps/* causing black-screen
ixrock 012ef04
window-manager: better handling no-clusters state
ixrock c70ed87
workspaces -- part 1
ixrock 117ad58
workspaces -- part 2
ixrock a4bcfc1
menu.ts: refactoring and fixes, reuse route paths from views (renderer)
ixrock 24f7546
preferences page -- part 1
ixrock 6fd9b7c
preferences page -- part 2
ixrock 407c4fb
fix: apply theme on the fly in preferences, theme-store refactoring
ixrock 3aef370
refactoring: get rid of config.store.ts (renderer), moved allowNamesp…
ixrock 0b8c96f
fix: better bgc for remove-cluster button, clean up
ixrock 0490dc1
base-store.ts fix
ixrock 408f64c
fix reconnect, better handling no-clusters state
ixrock fe06643
auto-refresh menu, no-clusters page + navigation fixes
ixrock 7a81463
random fixes
ixrock 78a9fcd
fix: navigation via menu
ixrock 4388558
fix: show loading-state when activating a cluster or adding new one
ixrock 0489ee2
RELEASE_NOTES.md typo, fix #614
ixrock dd9b2ef
fix: detect new contexts on startup and show in add-cluster page
ixrock e79f78c
fix: destroy window-manager on app exit
ixrock 938464d
DCO-bot check fix
ixrock b79a3c8
Merge remote-tracking branch 'origin/vue_react_migration' into vue_re…
ixrock 153e705
base-store clean up
ixrock 3547a29
configure big folders to ignore for vscode (#593)
Nokel81 a09caca
Better log line when quitting Lens, close #480
ixrock b8e054c
improved singleton types inferring
ixrock e0d88be
cluster-status -- part 1 (ex. ClusterPage.vue)
ixrock 6cc4e79
fix format duration rounding days error (#582)
Nokel81 eb180a6
cluster-status -- part 2
ixrock a4424f7
cluster-status -- part 3
ixrock 32dfa1b
fix: cluster-icon badge margin
ixrock 505d3ba
fix: search-input warning, removed outdated `items-list.tsx`
ixrock b1e6f8d
fix: terminal was broken at some point during refactoring
ixrock 5190118
clean-up/update "todo/fixme-comments"
ixrock 4cb0352
cluster-ipc refactoring
ixrock 25dd645
fix: "disconnect" cluster from clusters context-menu
ixrock ffa0f88
refactoring, fixes
ixrock 49454c5
refactoring, fixes
ixrock 65eea21
fix: reloading page at Apps/* causing black-screen
ixrock 97c5162
window-manager: better handling no-clusters state
ixrock 456fe34
workspaces -- part 1
ixrock 3622f8b
workspaces -- part 2
ixrock 072895b
menu.ts: refactoring and fixes, reuse route paths from views (renderer)
ixrock a45eec7
preferences page -- part 1
ixrock d7abfe3
preferences page -- part 2
ixrock 9aba766
fix: apply theme on the fly in preferences, theme-store refactoring
ixrock d847207
refactoring: get rid of config.store.ts (renderer), moved allowNamesp…
ixrock 65f757b
fix: better bgc for remove-cluster button, clean up
ixrock 5026072
base-store.ts fix
ixrock 9e14806
fix reconnect, better handling no-clusters state
ixrock b2fda4e
auto-refresh menu, no-clusters page + navigation fixes
ixrock 8f37301
random fixes
ixrock 9ba5025
fix: navigation via menu
ixrock c150ac6
fix: show loading-state when activating a cluster or adding new one
ixrock b357b43
RELEASE_NOTES.md typo, fix #614
ixrock 5996971
fix: detect new contexts on startup and show in add-cluster page
ixrock ce54fc6
DCO-bot check fix
ixrock 4eec236
base-store clean up
ixrock 483feda
Merge remote-tracking branch 'origin/vue_react_migration' into vue_re…
ixrock 7eee65d
fixes: cluster-icon/clusters-menu
ixrock be52b4a
kube-api.ts clean up
ixrock 4087cf0
fix: infinite spinner with no-clusters view
ixrock f2803ab
tooltip refactoring -- part 1
ixrock 1d77360
tooltip refactoring -- part 2
ixrock 07c4d1b
fix: electron error when closing app window
ixrock 6fb2360
Use quotas in resource applier's kubeconfig path (#616)
nevalla 51c4965
Fix invalid error callback on fs.chmod calls (#615)
nevalla c318bb4
update .yarnrc to current electron-version
ixrock 2054f38
updated README.md
ixrock 3a115ae
refactoring & fixes
ixrock 39316e1
refactoring & moving rbac.ts to "common"
ixrock d9eb7cb
Pass empty function as callback for fs.unlink calls (#618)
nevalla ec095ca
fix: cluster-icon's badge (events-count) is cropped in clusters-menu
ixrock cf5b3b4
cleaning-up `renderer/_vue`, moi-moi vue.js
ixrock bac6fba
Fix lint issues
nevalla d4ff99f
convert the cluster settings view from Vue to React (#613)
Nokel81 e9f60a7
fix Cmd+Q exit error
ixrock 1d9d4db
fix: When disconnecting non active cluster from left menu, the active…
ixrock fe9682c
fix: When selecting Custom option when adding new cluster, Kubeconfig…
ixrock a6a4372
fix: setup minimal window's width & height to 900x760
ixrock 0b0e4f2
fix: The issue badge looks like it's disabled now (cluster-menu's ico…
ixrock 756fc7b
fix: Adding new workspace have default `My Workspace` name, instead o…
ixrock 0095c77
Fix getKubeConfigLocal() (#635)
nevalla c70564e
Fix Kubectl.getDownloadMirror (#629)
nevalla d923053
Fix getFreePort() (#627)
nevalla 65df0c8
Mock imported styles for jest (#628)
nevalla 1f5acdb
catch and log error from shell sync (#630)
Nokel81 0f4248d
Fixing Cluster Settings layout (#651)
aleksfront efcf02e
Merge branch 'master' into vue_react_migration
nevalla 5c1ded6
Removing legacy browserCheck() utility
aleksfront 0393d1f
Revert select box-shadow (outline) color
aleksfront de46907
Allowing to save prometheus service address
aleksfront ec1ed63
Improving code readabilty
aleksfront 8bca7f4
Fix cluster settings prometheus configuration (#663)
aleksfront f7e823d
Setting overflow:hidden on lens-view elem (#664)
aleksfront eea149c
Fixing broken/missing icons (#665)
aleksfront 5fc56da
add some simple user store tests (#674)
Nokel81 6725a6f
PR comment fixes for @jari
ixrock 592c892
add some basic workspace store tests (#680)
Nokel81 47bcb63
Views management refactoring (#669)
ixrock fa4407b
Merge branch 'master' into vue_react_migration
nevalla 1f890f1
fix: #draggable-top (devtools must be closed on drag)
ixrock 06b7322
fix: doubled "copyright" in package.json after master-merge
ixrock 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
fix: detect new contexts on startup and show in add-cluster page
Signed-off-by: Roman <ixrock@gmail.com>
- Loading branch information
commit 59969719d64a10b2e45ba7360ba8e37572a8db96
There are no files selected for viewing
This file contains 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 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 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 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 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 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
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.
use
os.homedir()
?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.
is it not the same?
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.
On Windows it could be
process.env.USERPROFILE
. At least this used to be an issue...os.homedir()
is likely more portable, plus it is used on line 11 above, so we should be consistent.Sorry, didn't realize that this is code that was only moved, not modified