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

new approach in public-adventures #5431

Draft
wants to merge 57 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
fbf7399
WIP use indexes and filters tables
hasan-sh Apr 17, 2024
526ac0d
temporary fiels for creating new tables
hasan-sh Apr 17, 2024
f043f03
- remove filters
hasan-sh Apr 18, 2024
a7eacfb
needed changes
hasan-sh Apr 18, 2024
997a7ad
always filter by own language
hasan-sh Apr 22, 2024
5ab56fe
sort levels and filter by search field too
hasan-sh Apr 22, 2024
b36c08b
remove duplicates cloned adventures
hasan-sh Apr 22, 2024
f16c649
Merge branch 'main' into new-PA-approach
hasan-sh Apr 22, 2024
e53ac4b
bundle file
hasan-sh Apr 22, 2024
d3bff69
change field#value to field_value such that it works with dynamo's st…
hasan-sh Apr 22, 2024
42ae51d
fix tests
hasan-sh Apr 22, 2024
897f1e9
remove old files
hasan-sh Apr 22, 2024
912c199
🤖 Automatically update generated files
hasan-sh Apr 22, 2024
971e464
migrate scripts
hasan-sh Apr 23, 2024
7cf47b7
remove filters and indexes when removing an adventure
hasan-sh Apr 23, 2024
28f1c4a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 23, 2024
dbab774
- added pagination token
hasan-sh May 6, 2024
b96a187
Merge branch 'main' into new-PA-approach
hasan-sh May 6, 2024
a834e1f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 6, 2024
0e56cb3
🤖 Automatically update generated files
pre-commit-ci[bot] May 6, 2024
17b7eec
Merge branch 'main' into new-PA-approach
hasan-sh May 8, 2024
35977bd
minor fixes
hasan-sh May 8, 2024
1622054
🤖 Automatically update generated files
hasan-sh May 8, 2024
5d324f2
fix tests 1
hasan-sh May 13, 2024
e29f999
Merge branch 'main' into new-PA-approach
hasan-sh May 13, 2024
4c125f4
🤖 Automatically update generated files
hasan-sh May 13, 2024
d9d8c91
fix flake
hasan-sh May 13, 2024
3c5c670
Merge branch 'new-PA-approach' of github.com:hedyorg/hedy into new-PA…
hasan-sh May 13, 2024
e792dc5
remove key field (id) when updating
hasan-sh May 13, 2024
07fe6ac
Merge branch 'main' into new-PA-approach
hasan-sh May 21, 2024
3d18927
sort tags when creating them
hasan-sh May 22, 2024
c17729d
🤖 Automatically update generated files
hasan-sh May 22, 2024
8dfa0b3
use get_page method, add prev page button and sort adventures by name
hasan-sh May 23, 2024
f87090b
Merge branch 'new-PA-approach' of github.com:hedyorg/hedy into new-PA…
hasan-sh May 23, 2024
706635c
Merge branch 'main' into new-PA-approach
hasan-sh May 29, 2024
5c5deb0
🤖 Automatically update generated files
hasan-sh May 29, 2024
283fc33
remove unneeded code
hasan-sh May 29, 2024
45bba2c
Merge branch 'new-PA-approach' of github.com:hedyorg/hedy into new-PA…
hasan-sh May 29, 2024
a2c1183
remove race conditions
hasan-sh May 29, 2024
7cf0004
Merge branch 'main' into new-PA-approach
hasan-sh May 29, 2024
2245704
update filters/indexes logic in update_adventures + docstring
hasan-sh May 30, 2024
2cc8121
move logic to db and remove old code
hasan-sh May 30, 2024
5459e58
Merge branch 'main' into new-PA-approach
hasan-sh May 30, 2024
32b10b2
remove htmx
hasan-sh May 30, 2024
01cc74b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 30, 2024
aeca1c1
1 endpoint
hasan-sh May 30, 2024
2e03ff6
data
hasan-sh May 30, 2024
d3c521b
Merge branch 'new-PA-approach' of github.com:hedyorg/hedy into new-PA…
hasan-sh May 30, 2024
4d93779
🤖 Automatically update generated files
hasan-sh May 30, 2024
a9a0f46
Merge branch 'main' into new-PA-approach
hasan-sh Jun 3, 2024
a7671cf
rename tables and small fixes
hasan-sh Jun 3, 2024
b7079f9
add filter to path
hasan-sh Jun 3, 2024
158b8ac
Merge branch 'new-PA-approach' of github.com:hedyorg/hedy into new-PA…
hasan-sh Jun 3, 2024
1822686
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 3, 2024
ced1c09
return body.html not index
hasan-sh Jun 3, 2024
abf0554
fix search field
hasan-sh Jun 3, 2024
4209b7e
Merge branch 'main' into new-PA-approach
hasan-sh Jun 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 23, 2024
commit 28f1c4a7b39e8b4cce81b31a85a9add8918775e3
2 changes: 1 addition & 1 deletion migration_scripts/migrate-public-adventures-filters.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from website.database import PUBLIC_ADVENTURES_FILTERS, ADVENTURES
import sys
# setting path
sys.path.append('../hedy')

from website.database import PUBLIC_ADVENTURES_FILTERS, ADVENTURES

def create_filters_table(record):
lang_value = record.get("language", "en")
Expand Down
3 changes: 1 addition & 2 deletions migration_scripts/migrate-public-adventures-index.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
from website.database import PUBLIC_ADVENTURES_INDEXES, ADVENTURES
import sys
# setting path
sys.path.append('../hedy')

from website.database import PUBLIC_ADVENTURES_INDEXES, ADVENTURES


def create_multi_index_table(record):
lang_value = record.get("language", "en")
Expand Down
Loading