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

Pb 59 mobile friendly landing page #151

Closed

Conversation

annabjorgo
Copy link

No description provided.

annabjorgo and others added 30 commits August 10, 2023 13:56
* Bugfix: enviroment varible type

* PB-15: Testing terraform

---------

Co-authored-by: Jacob Theisen <[email protected]>
* Bugfix: enviroment varible type

* PB-15: Testing terraform

* PB-15: URI bugfix

---------

Co-authored-by: Jacob Theisen <[email protected]>
* added next.js folder

* moved pages dir up one level

* added dependencies to package.json as well as husky folder and prettierrc

* added more configs for linting

* updated config content due to change in folder structure

* feat(landing): adds landing page with header

* refactor(styles): fixes styles config for app

* fix(tailwind): fix tailwind content path for src dir

* sketch of first page part that user sees

* PB-14m: adds add to slack button

* PB-14m: adds heading nav

* fix(format): removes semicolons

* changed setup for styling page

* PB-14m: adds empty div behind nav

* PB-14c: font styling nav

* done with first iteration of landing page

* fixed feedback from review

* cleaned up after code review, added _document.tsx in pages-folder

* removed unnecessary empty tags

* removed comment

---------

Co-authored-by: Sergey <[email protected]>
* Bugfix: enviroment varible type

* PB-15: Testing terraform

* PB-15: URI bugfix

* PB-15:test

---------

Co-authored-by: Jacob Theisen <[email protected]>
* Bugfix: enviroment varible type

* PB-15: Testing terraform

* PB-15: URI bugfix

* PB-15:test

* PB-15; debug

---------

Co-authored-by: Jacob Theisen <[email protected]>
* Bugfix: enviroment varible type

* PB-15: Testing terraform

* PB-15: URI bugfix

* PB-15:test

* PB-15; debug

* PB-15: tmp added www to domain

* PB-15: tmp added www to domain

---------

Co-authored-by: Jacob Theisen <[email protected]>
* Bugfix: enviroment varible type

* PB-15: Testing terraform

* PB-15: URI bugfix

* PB-15:test

* PB-15; debug

* PB-15: tmp added www to domain

* PB-15: tmp added www to domain

* PB-15: debug

---------

Co-authored-by: Jacob Theisen <[email protected]>
* PB-14p: fix variable imports fr newer docker versions

* PB-14t: remap ports to work on all systems

* PB-14p: adds docker container and nginx routing for new frontend
* PB-17k: adds cookie helper methods and JWT config

* PB-17k: adds cookie in header on login

* PB-14k: adds refresh of soon to expire cookies

* PB-17k: fixes lifetime of cookies

* PB-17k: switch to cookie auth in old frontend for testing

* PB-17k: removes print statement
* PB-29b & PB-29d: functionality for multiple lang + default english

* PB-29b: More translation

* PB-29: Update to  lang

* PB-27: remove unnecessary logging

* PB-27: Remove unnecessary comments

* PB-27: Orddelingsfeil

---------

Co-authored-by: Jacob Theisen <[email protected]>
* Isolating specific changes for pull request

* PB-17b: adds missing dependencies

* PB-17b: some cleanup of code/comments

* PB-17b: fixes undefined style set in Card-component

* PB-17b: typing of ModalButton

* PB-17b: fixes missing type dependency

---------

Co-authored-by: Stian Sulebak <[email protected]>
* new folder structure

* PB-17b: renamed adminpage to admin section of app

* PB-17b: fixes absolute import paths

* PB-17b: fixes bad keys in map-functions

* PB-17b: removes redundant component typing

* PB-17b: change export convention to using named exports

---------

Co-authored-by: Stian Sulebak <[email protected]>
* PB-17h: configs for auth in new frontend

* PB-17d: adds login button and callback functionality for setting cookies

* PB-17d: Adds decoding of user when entering the admin page

* refactor: moves typings of jwt tokens

* PB-17h: callback routes to same domain as the request for callback url

* PB-17h: defs and helpers for auth fetching

* PB-17h: updates tests
* PB-29b & PB-29d: functionality for multiple lang + default english

* PB-29b: More translation

* PB-29: Update to  lang

* PB-27: remove unnecessary logging

* PB-27: Remove unnecessary comments

* PB-27: Orddelingsfeil

* PB-29: Update timestamps to appropriate time

* PB-29: fix timestamp formating

* PB-29: cleanup

* PB-29: remove unsed code

* PB-29: Small fixes on feeback on pr

---------

Co-authored-by: Jacob Theisen <[email protected]>
* fix: sets husky pre-commit file as executable

* feat: adds linting check in gh actions
* PB-30a: fetcher with cookie config for useSWR

* PB-30a: useSWR hook to fetch users

* PB-30a: fixes broken imports

* PB-30a: adds utils and userSWR for fetching users

* PB-30a: fixes based on comments from code review, and console logged unused variables due to linter

* changed name of users from slack workspace from 'users' to 'slackUsers' and updated hook accordingly

* resolved comments from code review

* resolved stian's comments on PR

* changed paths

---------

Co-authored-by: Stian Sulebak <[email protected]>
* docs: start implementing better docs for setting enviroment variables for development

* dev-env: docker compose now uses .env variables. updated readme
* PB-15d: adds button and redirect link for adding bot to workspace

* PB-15d: reworked login and adding to slack to run serverside

* PB-15d: reworked defention of api-endpoint-uri to seperate client and serverside calls

* PB-15: Fixes workflow and envs for calling backend serverside

* PB-15d: small styling on login and add to workspace flow

* chore: Remove and adds comments

* fix: sets frontenduri to new frontend

* fix: removes misplaced quotation marks

* PB-15d: adds better error feedback to user

* ci: implements lint-staged and typechecking

* ci: sets up prod envs for next-frontend when building

* chore: changes to console.error and removes throw
* created hook for fetching restaurants

* moved every check to a big ternary
* PB-15d: adds button and redirect link for adding bot to workspace

* PB-15d: reworked login and adding to slack to run serverside

* PB-15d: reworked defention of api-endpoint-uri to seperate client and serverside calls

* PB-15: Fixes workflow and envs for calling backend serverside

* PB-15d: small styling on login and add to workspace flow

* chore: Remove and adds comments

* fix: sets frontenduri to new frontend

* fix: removes misplaced quotation marks

* PB-15d: adds better error feedback to user

* ci: implements lint-staged and typechecking

* ci: sets up prod envs for next-frontend when building

* Bugfix; lmdb return value

* Bugfix; None value check

---------

Co-authored-by: stianjsu <[email protected]>
* Demo for post reqs

* PB-30B: Layout for mutation + toggle active status

* PB-30B: Linter happy?

* PB-30B: prøver på nytt

* PB-30b: some refactoring + support for post and delete

* PB-30b: more refactoring

* PB-30b: refatoring

* PB-30b: typo
* updates versioning pipeline

* prepare next build structure

* update terraform config

* create testing versioning workflow

* typo and testing

* fix: auto commit errors

* removes nginx buildpack

* test different config for next

* trigger ci

* fix: env to point to proper endpoint

* Postfix BackendURI with /api to fix next requests to server

* CORS: adds csrf token to allowed headers

* fix: test cookie domain field for cookies to be sent correctly

* Sets up DOMAIN env for backend to set cookie domain

* simplefies versioning workflow

* cleans up configs

* delete test-versioning workflow
* refactor: cleaned up code and mutation implementation

* refactor: explicitly set mutator options

* PB-30b: implements toggling active on slackusers

* PB-30b: adds mui switch

* PB-30b: revamped admin page styling for better responsiveness

* removes console log

* Refactored SlackUsers component
* added function for adding restaurants

* added deletion

* 'fixed' problems with empty body on delete request
add functionality for posting and deleting events
* PB-17h: adds logout endpoint

* PB-17h: adds navbar component to Admin page

* PB-17h: adds apiHelpermethod for log out request
JacobTheisen and others added 29 commits November 10, 2023 13:24
* PB-50: Refactor modal logic + remove unused files

* PB-50; More refactoring

* PB-50; rename and fix imports

* PB-47r; added logic for nested modals
* updated navbar to match newest Figma sketches

* style: tweaked animation on navbar select

---------

Co-authored-by: Stian Sulebak <[email protected]>
* PB-50: Refactor modal logic + remove unused files

* PB-50; More refactoring

* PB-50; rename and fix imports

* PB-47r; added logic for nested modals

* PB-47p: fix calender modal

* PB-47: Eventcalendermodal fixes
* add toaster when no restaurants added

* remove space

* feat: example custom toast

* fix pr comments

* added shadow to cards

* linter happy ?

---------

Co-authored-by: Stian Sulebak <[email protected]>
Co-authored-by: sergiosja <[email protected]>
Co-authored-by: Sergey Jakobsen <[email protected]>
Bugfix; infitnite modals
PB-48f: Updated header, updated "add to slack"-button, and implemented the "main" landing page from Figma

Co-authored-by: sergiosja <[email protected]>
* feat: adds command for getting url to admin panel

* feat: adds link to adminpanel in bot welcome message

* chore: updates readme for adding the new command

* fix: changed wording of admin panel command message
* make eventcalandar and events the same height

* rename from style to className
quick fix calendar colours

Co-authored-by: sergiosja <[email protected]>
* PB-48c: Added second section

* small height styling changes in landing page

* PB-48c: little more responsive at least

* PB-48c: minor style change

* PB-48c: minor changes to fonts

* PB-48c: refactoring

* PB-48c: fix font

---------

Co-authored-by: Anna <[email protected]>
PB-48i: Implemented sixth section, created duplicate addtoslackbutton, added svgs

Co-authored-by: sergiosja <[email protected]>
* PB-48g: Fourth section done

* PB-48g: Changed SVGs to PNGs to prevent loss

---------

Co-authored-by: sergiosja <[email protected]>
* add first step in third section

* add images for third section

* implement third section

* add text border style

* insert third section in landing page
* PB-48h: Started on fifth section and added it to Landing index page

* PB-48h: Added tape svg and hover is now global to div. Also updated postit component

---------

Co-authored-by: sergiosja <[email protected]>
* feat: adds Footer component to Landing page

* fix: linting

* fixed typo

---------

Co-authored-by: sergiosja <[email protected]>
Co-authored-by: Jacob Theisen <[email protected]>
* fix: delete properly from db when cloudinary is not set up

* feat: adds user who installed field to new slack org event

* feat: Bot now dms user instead of joining default channel

* chore: cleaned up installation and join channel flow

* feat: adds check so events cant be created if channel_id is none

* fix: no channel set message wasnt displayed

* fix: adds nullable to channel_id in rpc schema. Adds missing check for None old channel_id

* feat: updates users active on channel change

* fix: edit error return on add event with channel_id None. fix test for authed user field

* chore: removes print

* fix: fixes admin panel url command on welcome message
* feat: update login page to look a bit nicer

* feat: adds messages to callback on slackbot install

* feat: improve slack callback pages

* feat: tweaks styling to fit screen consistently. Header is now fixed with fill bg

* chore: moves duplicate code to own component

* feat: rewords message when attempting to add bot

* feat: tweaks the design to match figma
* feat: tweaks sections 1-3 to use better height and flex props

* feat: tweaked styling section 2, mascot now wraps
* feat: updates illustrations sect 3 and improves responsiveness

* remove unused code

---------

Co-authored-by: Anna <[email protected]>
* feat: improved responsiveness

* try adding frontend uri staging

* add config-var to prod aswell

* feat: tweaks text size
* refactor addtoslack button

* make sections more aligned

* align sixth section

* change from div to section

* small design changes

* image size

* fix function

* rename file

* update imports
@annabjorgo annabjorgo closed this Dec 26, 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.

4 participants