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/athlete search page #24

Merged
merged 11 commits into from
Feb 2, 2023
Merged

Feat/athlete search page #24

merged 11 commits into from
Feb 2, 2023

Conversation

dorianim
Copy link
Member

@dorianim dorianim commented Jan 27, 2023

Add a page to search for athletes.
I ripped this out of #21 to keep the PR small and get it merged.

@dorianim dorianim mentioned this pull request Jan 27, 2023
2 tasks
@dorianim dorianim linked an issue Jan 27, 2023 that may be closed by this pull request
2 tasks
@cloudflare-pages
Copy link

cloudflare-pages bot commented Jan 27, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3c97ebe
Status: ✅  Deploy successful!
Preview URL: https://a1ab677f.speedclimbing.pages.dev
Branch Preview URL: https://feat-athlete-search-page.speedclimbing.pages.dev

View logs

@codeclimate
Copy link

codeclimate bot commented Jan 27, 2023

Code Climate has analyzed commit 3c97ebe and detected 0 issues on this pull request.

View more on Code Climate.

@dorianim dorianim merged commit 2534de1 into dev Feb 2, 2023
@dorianim dorianim deleted the feat/athlete-search-page branch February 2, 2023 10:39
@dorianim dorianim added this to the Initial release milestone May 19, 2023
dorianim added a commit that referenced this pull request May 19, 2023
* Feat: Implement HomePage-ui (#10)

* Feat: Implement HomePage-ui

* Feat: automatic dark mode based on system (#11)

* Feat/adaptive header (#13)

* Feat: automatic dark mode based on system

* Feat: make navbar transparent when not scrolled

* Feat: add animation

* Chore: remove leftover double code from merge

* Chore: unify record cards (#14)

* Chore/equalize padding (#12)

* Chore: equalize padding

* Chore: remove padding

* Fix: equalize padding on all sections

Co-authored-by: lamorak13 <j.e.mayerhofer@gmail.com>

* Chore: cleanup global styles

Co-authored-by: Dorian Zedler <dorian@itsblue.de>

* Feat: favicon (#16)

* Feat: better error page (#18)

* Fix/header multi page (#17)

* Fix: header transparency on pages other than home

* Fix: body padding

* Fix: set correct padding

* Fix: non-relative size of dark mode toggle

* Fix: header full width

* feat: integrate api to homepage (#15)

* feat: integrate api to homepage

* fix: add new files

* Chore: remove duplicated code

Co-authored-by: Dorian Zedler <dorian@itsblue.de>

* Feat: show a spinner while navigation (#22)

* Chore: update readme (#25)

* Chore: add proper header

* Fix: logo height

* Fix: logo align and size

* Fix: github doesn't allow style lol

* Fix: height

* Doc: add some description

* Feat: add codeclimate badge

* Feat/athlete search page (#24)

* Feat: first draft of athlte page

* Feat: athlete search

* Feat: filter my gender and pb

* Feat: Athlete search from homepage

* Feat: ssr for athlete search

* Fix: make code cleaner

* Fix: some minor problems

* trigger ci

* Chore(deps): bump undici and @sveltejs/kit (#26)

Bumps [undici](https://github.com/nodejs/undici) to 5.19.1 and updates ancestor dependency [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit). These dependencies need to be updated together.


Updates `undici` from 5.14.0 to 5.19.1
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v5.14.0...v5.19.1)

Updates `@sveltejs/kit` from 1.0.0 to 1.7.1
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@1.7.1/packages/kit)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix: Navbar in light mode on not home, navbar delay (#23)

* Fix: Navbar in light mode on not home, navbar delay

* Fix: toggle on click on link

* Chore: update flowbite-svelte

* Fix: use media instead of class for dark mode

* Chore(deps-dev): bump @sveltejs/kit from 1.7.1 to 1.15.1 (#29)

Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 1.7.1 to 1.15.1.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@1.15.1/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Chore: athlete searchpage dept (#28)

* Fix: handle debounce before replacing promise; prevent dangling debounce promises

* Fix: use svelte-kits fetch

* Chore: make code climate happy

* Fix: default option in gender dropdown

* Chore: cleanup debounce

* Chore: rename fetch.ts -> Fetch.ts

* Feat: competititon overview page (#20)

* Feat: add competition page and fetch data

* Feat: integrate nation select

* Feat: add linkage to competition page

* Feat: add filters and implement them according to the endpoint

* Chore: Refactoring code

* Feat: implement FullCalendar functionality

* Chore: Refactor and SwitchButton

* Chore: Refactoring

* Fix: import error

* Feat: introduce busy indication when loading comps

* Feat: seasons as year & different colors for comps

* Feat: implement query parameter logic

* Feat: comp color based on league_id

* Fix: calendar jumps when changing months

* Feat: styling

* Chore: refactoring

* Fix: codeclimate

* Feat: add calendar subscription button

* Chore: refactoring

* Chore: refactor & add calendar modal

* Remove: EventCalendar

* Feat: finish modal

* Chore: refactor CompetitionCalendar

* Chore: fix minor details

* Fix: responsive modal

* Fix: calendar problems when switching year

* Chore: fix breaking change in debounce function

---------

Co-authored-by: Dorian Zedler <dorian@itsblue.de>

* Fix: competitions missing in calendar (#30)

* Fix: competitions missing in calendar

* Fix: remove usage of isPromise

* Chore(deps-dev): bump @sveltejs/kit from 1.15.1 to 1.15.2 (#31)

Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 1.15.1 to 1.15.2.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@1.15.2/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Chore(deps): bump yaml from 2.1.3 to 2.2.2 (#34)

Bumps [yaml](https://github.com/eemeli/yaml) from 2.1.3 to 2.2.2.
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](eemeli/yaml@v2.1.3...v2.2.2)

---
updated-dependencies:
- dependency-name: yaml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: add error page animation (#33)

* feat: add error page animation

* feat: adjust size of number

---------

Co-authored-by: Dorian Zedler <dorian@itsblue.de>

* Feat: do all API requests server-side (#35)

* Feat: do all API requests server-side

* Fix: make codeclimate happy

* Fix: wrong API_URL

* Test: remove hook

* Fix: date conversion

* Fix: remove hooks
Hooks seem to break cloudflare pages

* Chore: unify handling of debounce

* Feat: use headers

* Test: remove headers

* Test: remove env

* Fix: use platform for env

* Fix: use platform

* Feat: show skeletons instead of full screen loader

* Fix: add missing file

* Feat: show spinner on competition and athlete page

* Chore: remove log

* Feat: global stats page season stats (#32)

* Feat: first draft of the season overview page

* Feat: add styling for light mode

* Chore: add responsivity

* Chore: move function to utils

* Fix: update import

* Feat: about-us page (#37)

* Feat: about-us page

* Chore: some more text

* Fix: alert color

* Feat: add email dispatching

* Feat: use formrecevr for form submissions

* Fix: remove nodemailer dependency

* Chore: cleanup

* Feat: Imprint and privacy policy

* Chore: cleanup anchor points

* Chore: some polishing

* Feat: update texts

* Chore: use tailwind

* Chore: align left

* Feat: new and improoved layout for cards

* Fix: re-add href

* Fea: add max width to p

* Feat: about page (#19)

* Feat: About page draft

* Fix: Header transparency on pages other than index

* Chore: remove wrong stuff

* Feat: initial draft of the about page

* Feat: some content

* Fix: ending

* Fix: typos

* Feat: some more content

* Feat: more content on the homepage

* Feat: content in footer

* Feat: more links in footer

* Chore: cleanup and disable unfinished components

* Feat: add content to stats

* Chore: remove Keyword Component

* Chore: wrap links with li

* Chore: add mt-auto

* Chore: remove P

* Chore: typo

* Chore: use AnchorPoint

* Hotix: menu burger position on mobile

* Feat: new images (#38)

* Feat: load image from s3 bucket

* Feat: first draft of carousel

* Feat: add second hero image

* Fix: merge

* Chore: cleanup css

* Chore

* Feat: custom carousel

* Chore: make carousel css global

* Chore: remore postcss-for

* Fix: remove postcss-for

* Fix: remove locally-unique-id

* Feat: add autoscroll

* Feat: load pictures dynamically

* Fix: safelist dynamic classes

* Fix: remove bottom nav

* Fix: image alignment

* Chore: join statements

* Chore: use bg-black instead of manual class

* Hotfix: fix dependabot alert 6
https://github.com/speedclimbing/website/security/dependabot/6

* Fix: some competition calendar things (#40)

* Fix: use league_group for calendar and other calendar problems

* Feat: disable year select when in calendar

* Chore: remove unrelated code

* Feat: enable year select when calendar is active

* Feat: global stats page all time (#39)

* Feat: first mockup

* Feat: implementation without refactoring

* Chore: refactor table, linechart, container, etc.

* reset api_url

* Chore: refactor chartConfig

* Chore shorten setTooltipBody

* Chore shorten chartConfig

* Chore: implement pr feedback

* Feat: add male/female switch and season select

* Chore: update chart.js types

* Fix: problems after merge

---------

Co-authored-by: Dorian Zedler <dorian@itsblue.de>

* Feat: intregrate api on stats (#49)

* Feat: integrate api on season stats

* Chore: cleanup seasons and medal table

* Chore: remove unused code

* Feat: implement api on all time stats

* Fix: protect classes

* Chore: some cleanup

* Fix: calendar toggle

* Fix: outdated types

* Fix: chart not reloading

* Fix: overview table scaling

* Feat: add filters for all time stats

* Chore: cleanup

* Fix: update total pages on changed data

* Fix: set correct default value

* Feat: add Jakob description

---------

Co-authored-by: lamorak13 <j.e.mayerhofer@gmail.com>

* Fix: rename compnonent to components (#51)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: lamorak13 <69404447+lamorak13@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 16flotho <55878563+16flotho@users.noreply.github.com>
Co-authored-by: lamorak13 <j.e.mayerhofer@gmail.com>
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.

Athlete page
2 participants