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

Allow changing grid size #1047

Merged
merged 303 commits into from
Sep 29, 2024
Merged

Allow changing grid size #1047

merged 303 commits into from
Sep 29, 2024

Conversation

IgnisDa
Copy link
Owner

@IgnisDa IgnisDa commented Sep 28, 2024

Fixes #1036.

IgnisDa added 30 commits July 9, 2024 09:55
* feat(database): add column for manual time spent

* feat(backend): allow editing time spent

* feat(frontend): allow setting manual time spent on seen entries

* feat(frontend): read default value

* feat(frontend): make manual_time_spent field a decimal

* chore(frontend): adjust to new gql schema

* feat(frontend): display manual time if present

* fix(frontend): cap the max scale
* feat(landing): basic paypal btns

* feat(landing): render buttons

* feat(landing): get paypal working

* refactor(landing): extract currency code

* chore(docs): remove useless files

* feat(backend): handle pro key

* feat(backend): update metadata of keys when verifying

* build(backend): add semver deps

* feat(backend): display when key expires

* fix(backend): bail only after tracing logs

* refactor(backend): do not destructure response

* feat(backend): start implementing logic for pro key validation

* chore(landing): remove files

* feat(landing): add supercharged collections pic

* feat(backend): start implementing key expiry

* feat(backend): new strategy for verifying pro key

* feat(backend): polish verification completely

* fix(backend): change condition to OR

* fix(backend): better comparisons

* feat(backend): do not serialize null params

* build(backend): remove semver deps

* feat(backend): remove dependency on custom version in key meta

* fix(backend): make correct use of variables

* feat(backend): do not log everything

* chore(backend): bail with correct error

* build(landing): add paddle deps

* feat(landing): add paddle btns

* build(landing): remove paypal deps

* feat(landing): bring back trial period

* feat(landing): remove discussions etc

* feat(landing): add information about renewal

* feat(landing): add additional information

* ci: move landing page build and deploy to separate workflow

* feat(backend): do not update key's metadata

* feat(backend): better logging.

* feat(backend): handle when no meta

* feat(landing): change svgs for contact section

* fix(backend): handle empty metadata correctly

* chore(backend): log expiry before check

* feat(landing): add to interface

* feat(landing): add basic information json

* feat(landing): get back old page

* chore(landing): edit out cursor

* ci: add env to action workflow

* feat(landing): add validation for paddle

* feat(landing): add title

* feat(landing): add id to each feature

* feat(landing): new screenshot incorporated

* chore(frontend): add dev comment

* chore(frontend): narrow if check

* feat(landing): change prices

* feat(backend): return early if pro key is invalid

* refactor(backend): change name of function

* ci: remove ref to an env variable

* ci(landing): upgrade deps

* fix(frontend): correct import
* chore(frontend): add scroll margin when scrolling to next exercise

* feat(landing): add info about trial

* chore(landing): order of sentences
* feat(database): add models for access links

* feat(database): add column to store tokens in access links

* feat(database): new column for access link table

* feat(backend): new entity for access link

* feat(backend): add empty impl for creating access link

* feat(backend): automatically generate id for access links

* feat(backend): add impl for creating access links

* feat(database): separate column for storing whether link is invalid

* Revert "feat(database): separate column for storing whether link is invalid"

This reverts commit 7371b26d861f169d8b05861e02991d7f5b994fb8.

Signed-off-by: Diptesh Choudhuri <[email protected]>

* feat(backend): empty mutation to process an access link

* feat(backend): handle error states for processing access links

* feat(backend): encode nullable access link id in token

* feat(backend): complete implementation of processing access links

* fix(database): make times used an array

* feat(backend): resolver to get all user access tokens

* feat(frontend): get user access links data

* feat(frontend): simple api route for sharing access links

* ci: add route for sharing

* feat(frontend): handle case when access link is invalid

* feat(frontend): return a valid toast instead of json response

* refactor(frontend): display error directly

* feat(frontend): basic tab for creating access link

* fix(backend): order access links by when they were created

* feat(frontend): display access link details

* feat(backend): mutation to revoke an access link

* feat(frontend): allow revoking access links

* feat(frontend): display when link has been revoked

* feat(frontend): allow creating access links

* chore(frontend): increase primary details font size

* feat(frontend): use function from utils

* fix(frontend): use dayjs lib for expiry

* feat(backend): start with function to determine whether mutation allowed

* feat(backend): complete function to determine if token is allowed to performed mutation

* feat(database): add new column for access token validity

* feat(backend): add token validity

* feat(frontend): add new field to form

* feat(backend): return number of days token is valid for

* feat(frontend): adapt to new gql schema

* fix(frontend): add a minimum and maximum threshold for access token

* build(frontend): add `jwt-decode` deps

* feat(frontend): determine whether it is an access link session

* feat(frontend): display indication when in readonly mode

* feat(frontend): correct text in tooltip

* feat(landing): add sharing image

* feat(landing): add info about sharing feature

* feat(backend): respect token revoked status

* feat(backend): cleanup job made correct

* chore(database,backend): remove access link validity field

* fix(backend): handle revoked access links correctly

* feat(frontend): remove validity column from access links

* feat(frontend): use lock icon for revoke action

Also change order of imports

* feat(frontend): no mutation is not recoverable

* chore(frontend): do an import

---------

Signed-off-by: Diptesh Choudhuri <[email protected]>
* feat(database): add name column to access link

* feat(backend): allow setting name for access links

* feat(frontend): display names for access links

* feat(frontend): allow redirecting using access links
@IgnisDa IgnisDa marked this pull request as draft September 28, 2024 17:14
@IgnisDa IgnisDa marked this pull request as ready for review September 29, 2024 17:24
@IgnisDa IgnisDa merged commit dba3403 into main Sep 29, 2024
1 check passed
@IgnisDa IgnisDa deleted the issue-1036 branch September 29, 2024 17:25
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.

[FEATURE REQUEST] Grid size options
2 participants