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

Data setup #74

Merged
merged 19 commits into from
Aug 22, 2023
Merged

Data setup #74

merged 19 commits into from
Aug 22, 2023

Conversation

ciaranschutte
Copy link
Contributor

@ciaranschutte ciaranschutte commented Aug 20, 2023

Ciaran Schutte and others added 12 commits August 21, 2023 21:52
* move global into src, instead of app folder

* add some components

* configure uikit, emotion and typings

* uikit happy

* Basic Env Vars

* Populating Basic Configs

* cleanup

* add theme provider

* emotion imports

* emotion uikit style tpying

* First Working Test

* Working Redirect w/ URL Join

* remove DataCallout uikit re-export wrapper

* Basic Reusable Component

* Remove .env

* Update .gitignore

* Remove Duplicate

* Stage for UI Kit

* Loading Test w/ UI Kit

* NavBar Setup

* Fix Landing Page

* Remove Next logo

* Skeleton Cookies

* Basic Logout

* AuthContext Setup

* AuthContext Simplest State

* Generic Vars

* Major Update w/ Logout + UI Kit

* Testing Context + State

* Add Copyrights

* Update TypeScript, Imports, File Structure

* Login Button Component

* Use AuthContextValue

* Use GoogleLogin

* Use URL Join

* Local .env updates

* Remove Boilerplate

* Shuffle Files Around

* Refactor w/o Context

* Remove Logging

* Fix env settings

* Add React Query + Mock Login State

* Add Copyright

* Current Working State

* Fix User Badge

* Temporary Login Solution

* Clean Up State Changes

* Remove Redirect

* Cleaned Up User Badge

* Basic Pathname Solution

* Cleaned Up Login Flow

* Improved Layout + Header Handling

* Remove vscode from gitignore

* Fix /public import

* Update page names

* Refactor Auth / Layout

* General Clean Up

* Stub Middleware

* Tidying

* Middleware + Auth Route Setup - Infinite Loop

* Current State - Testing

* Children prop cleanup

* Header UI Updates

* Current Working State

* Clean Up Use of Stored Token

* Remove extra storedToken

* First Lint Changes

* Hook + Middleware Cleanup

* Better fallback, LoggingIn dependency

* Move Middleware to Feature Branch

* Unnecesary changes

* Remove Server side token management

* First Setup

* Log Out Update

* Updated Var name + Conditional

* Improve Loading Var Names + Reusable Logout

* Use Context logOut

* Remove Dummy Logout Button

* 1st Header PR Feedback

* Remove Unused Imports

* Fix Build Issues

* ProfileMenu Component

* Reusable Login

---------

Co-authored-by: Ciaran Schutte <[email protected]>
Feat/#14 programs list page (#47)

* add submission layout

* add some components

* add All Programs layout

* skeleton

* cleanup + add linking for programs

* remove sidemenu logic for PR

* remove program list and search func for PR

* fix type error

* mmove types around

* fix build

* clean import

---------

Co-authored-by: Ciaran Schutte <[email protected]>
add All Programs layout

skeleton

cleanup + add linking for programs

remove sidemenu logic for PR

remove program list and search func for PR

use route groups

content additions to sidemenu

poor mans sidebar toggle

Revert "Merge branch 'develop' into sidemenu-layout-restructure"

This reverts commit 640bb4b.

clean up

add sidemenu toggle

fix build

lots of styling

add page count

add table comps, fix font

fix percent cell

table updates

sidemenu

styling

styling

cleanup

cleanup
Homepage feedback (#68)

* fix footer placement links

* fix high res layout not expanding data callout

* use chevron icon

* Update Footer.tsx

---------

Co-authored-by: Ciaran Schutte <[email protected]>
remove slice of Programs in comps

add sidemenu query
manually fix history compared to dev

manually fix history compared to dev
dotenv.config({ path: '.env.local' });

const gqlConfig: CodegenConfig = {
schema: `${process.env.NEXT_PUBLIC_GATEWAY_API_ROOT}/graphql`,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this file is outside the context of Next but it makes sense to try and at least keep consistent naming/file instead of having multiple env configurations depending on process context

@ciaranschutte ciaranschutte marked this pull request as ready for review August 22, 2023 14:27
@@ -0,0 +1 @@
export type Programs = any;
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we update this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes! nice catch! removing it as gql has inferred types now

Copy link
Contributor

@demariadaniel demariadaniel left a comment

Choose a reason for hiding this comment

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

Huge! Looking great

@ciaranschutte ciaranschutte merged commit 2d0e645 into develop Aug 22, 2023
@ciaranschutte ciaranschutte deleted the data-setup branch August 22, 2023 19:47
@ciaranschutte ciaranschutte mentioned this pull request Aug 23, 2023
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