Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
05577d0
Refactors GitHubProjectDataSource to be testable
simonbs Nov 11, 2023
fa4e0a3
Adds tests for GitHubProjectDataSource
simonbs Nov 11, 2023
867b4a8
Adds tests for GitHubProjectRepositoryDataSource
simonbs Nov 11, 2023
385003c
Removes debug log
simonbs Nov 11, 2023
a74c02b
Merge pull request #149 from shapehq/enhancement/githubprojectdatasou…
simonbs Nov 11, 2023
aba2ea5
Removes file extension requirement from specification IDs
simonbs Nov 11, 2023
7150813
Supports moving specification ID to version ID
simonbs Nov 11, 2023
afa8e60
Reads remote versions from .shape-docs.yml
simonbs Nov 11, 2023
7805b8c
Adds /api/proxy endpoint
simonbs Nov 11, 2023
43cc10a
Fixes unit tests
simonbs Nov 11, 2023
8b5922b
Simplifies project selection
simonbs Nov 11, 2023
bb67443
Fixes projectNavigator unit tests
simonbs Nov 11, 2023
c13b155
Enables configuring specification ID
simonbs Nov 11, 2023
4f64b6d
Improves automatic specification ID
simonbs Nov 11, 2023
ed6f3c7
Improves navigation logic
simonbs Nov 11, 2023
e95fa5f
Improves navigation logic
simonbs Nov 11, 2023
35ab1e2
Simplifies project selection
simonbs Nov 11, 2023
b23f284
Removes logic that belongs to the introduction of remote versions
simonbs Nov 11, 2023
0715b1d
Introduces useProjectNavigator
simonbs Nov 11, 2023
6c48f65
Merge branch 'enhancement/simplifies-navigation' into feature/remote-…
simonbs Nov 11, 2023
7a43207
Remove debug log
simonbs Nov 11, 2023
67312b1
Merge branch 'enhancement/simplifies-navigation' into feature/remote-…
simonbs Nov 11, 2023
0f51d4c
Removes unneeded file
simonbs Nov 11, 2023
865ca66
Renames file
simonbs Nov 11, 2023
0cb6890
Merge branch 'enhancement/simplifies-navigation' into feature/remote-…
simonbs Nov 11, 2023
2f199a3
Merge pull request #151 from shapehq/enhancement/simplifies-navigation
simonbs Nov 11, 2023
a7583fa
Merge branch 'develop' into feature/remote-versions
simonbs Nov 11, 2023
bd08803
Bump axios from 1.5.1 to 1.6.1
dependabot[bot] Nov 11, 2023
37f678c
Merge pull request #152 from shapehq/dependabot/npm_and_yarn/axios-1.6.1
simonbs Nov 11, 2023
0d6dbaf
Adds link to proejcts
simonbs Nov 12, 2023
9aa16f2
Fallback to project URL
simonbs Nov 12, 2023
d635ec8
Fixes tests
simonbs Nov 12, 2023
3d90079
Merge branch 'develop' into feature/remote-versions
simonbs Nov 12, 2023
5aea30e
Bump @types/jest from 29.5.6 to 29.5.8
dependabot[bot] Nov 13, 2023
49eb0eb
Bump mobx from 6.10.2 to 6.11.0
dependabot[bot] Nov 13, 2023
5375bd0
Bump @mui/icons-material from 5.14.14 to 5.14.16
dependabot[bot] Nov 13, 2023
7cdeb32
Merge pull request #158 from shapehq/dependabot/npm_and_yarn/mui/icon…
simonbs Nov 13, 2023
9383564
Merge branch 'develop' into dependabot/npm_and_yarn/types/jest-29.5.8
simonbs Nov 13, 2023
e01711b
Merge pull request #154 from shapehq/dependabot/npm_and_yarn/types/je…
simonbs Nov 13, 2023
c8cd5b0
Merge branch 'develop' into dependabot/npm_and_yarn/mobx-6.11.0
simonbs Nov 13, 2023
20d3a0f
Bump @types/node from 20.8.9 to 20.9.0
dependabot[bot] Nov 13, 2023
3b0dda1
Merge pull request #155 from shapehq/dependabot/npm_and_yarn/mobx-6.11.0
simonbs Nov 13, 2023
1aa07b8
Merge branch 'develop' into dependabot/npm_and_yarn/types/node-20.9.0
simonbs Nov 13, 2023
68f5949
Bump next from 13.5.6 to 14.0.2
dependabot[bot] Nov 13, 2023
e9811e1
Adds trunk as candidate default branch
simonbs Nov 13, 2023
0ff9c86
Merge branch 'develop' into feature/remote-versions
simonbs Nov 13, 2023
0f5c994
Merge pull request #156 from shapehq/dependabot/npm_and_yarn/types/no…
simonbs Nov 13, 2023
ae36451
Merge branch 'develop' into dependabot/npm_and_yarn/next-14.0.2
simonbs Nov 13, 2023
d594023
Merge pull request #157 from shapehq/dependabot/npm_and_yarn/next-14.0.2
simonbs Nov 13, 2023
f92a1e8
Merge branch 'develop' into feature/remote-versions
simonbs Nov 13, 2023
9450d53
Merge pull request #150 from shapehq/feature/remote-versions
simonbs Nov 13, 2023
8b775de
Merge branch 'develop' into enhancement/fixes-project-links
simonbs Nov 13, 2023
ac17009
Merge pull request #153 from shapehq/enhancement/fixes-project-links
simonbs Nov 13, 2023
972a0d8
Merge branch 'main' into develop
simonbs Nov 13, 2023
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
85 changes: 0 additions & 85 deletions __test__/common/utils/url.test.ts

This file was deleted.

23 changes: 13 additions & 10 deletions __test__/projects/CachingProjectDataSource.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,20 @@ test("It caches projects read from the data source", async () => {
}]
let cachedProjects: Project[] | undefined
const sut = new CachingProjectDataSource({
async getProjects() {
return projects
}
}, {
async get() {
return []
},
async set(projects) {
cachedProjects = projects
dataSource: {
async getProjects() {
return projects
}
},
async delete() {}
repository: {
async get() {
return []
},
async set(projects) {
cachedProjects = projects
},
async delete() {}
}
})
await sut.getProjects()
expect(cachedProjects).toEqual(projects)
Expand Down
Loading