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

feat: Enforce types #160

Merged
merged 17 commits into from
Apr 22, 2023
Merged

feat: Enforce types #160

merged 17 commits into from
Apr 22, 2023

Conversation

CristhianF7
Copy link
Contributor

@CristhianF7 CristhianF7 commented Apr 22, 2023

Fixes #144 #145 #146 #147

D-B-Hawk and others added 17 commits April 19, 2023 12:00
* chore: move constants to central location

* chore: place overrides in declaration.d.ts file for accurate ts autocomplete/definitions

* chore: place utils in central location. add GithubUser,GithubUserPlan,GithubUserOrganization types.

* refactor: update readiness slice to a more descriptive variable description of the state is represents.

* chore: remove selectors. state selection exposed by useAppSelector.

* refactor: githubApi axed. githubUser slice state houses pertinent github user info.

* chore: getUser, getUserOrganization thunks made with tests to verify behavior.

* chore: enforce types

* refactor: update installation slice

* chore: update some hooks

* refactor: make controlled fields pass generic type to control for proper type inference for form values.

* refactor: a button is a button

* chore: more accurate description of what component actually is

* chore: pull InstallationButtons into separate comp

* chore: pull InstallationCard into its own component

* chore: pull InstallationInfoCard into separate comp

* chore: create InstallationStepContainer

* chore: layout comps, odds and ends. no inherent comp styles to throw off layout

* refactor: update LocalSetupForm and LocalFormFlow

* refactor: update aws github forms and flow.

* refactor: update aws gitlab forms and install flow

* chore: add civo github readiness, setup forms and install flow

* chore: add civo gitlab readiness, setup forms and install flow.

* chore: remove dashboard implementation. layout change simplification. other improvements

* loosely hooked up installations for existing options. installations selected and routed from installations/index

* fix: have forms validate before advancing step.

* chore: create NextLink comp because Link provided by next does not inherit className, id for styling. create wrapper to place link as expected with styled-components.

* fix: strip and import styles from .styled files. lowercase naming for folders. replace color strings with names constants. use named exports for more readable and constant naming convention of differing style themes.

* fix: pin node@16.15.1. nuke node_modules  and re-install

* fix: rename slices based off of pr review note. renamed getters and pieces of state accordingly.

* fix: export generated hooks. add proper arg types to api mutations. slight change to handlers and types for ease of use.

* fix: drop form/form flow stories. seperate/import styles. move logic from page to FormFlow component.

* coerce boolean|undefined value to string for accepted input value.

* adds updates to civo github

---------

Co-authored-by: Jared Edwards <jared@kubefirst.com>
…t was? add optional gitProvider to installationSlice as well as make installType optional.
…e complexity might change/other comp reliance.
chore: add mvp terminal showing socket output
* move InstallationSelection into containers

* chore: add useWebsocket hook

* refactor: update TerminalLogs to take optional websocket and write formatted stream data to xterminal

* fix: add small amount of flexibility with CloudProviderCard width so styles are more responsive between shift below large breakpoint.

* chore: update installation pages to route through single point and render component based on gitProvider and installType.
@CristhianF7 CristhianF7 merged commit 1a0ce63 into main Apr 22, 2023
@CristhianF7 CristhianF7 deleted the feat_derrick_enforce_types branch April 22, 2023 22:07
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.

feat: add local gitlab form flow
3 participants