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

v2.0.0 #807

Merged
merged 241 commits into from
Jun 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
241 commits
Select commit Hold shift + click to select a range
dbb4e68
Fix for "Synectic vundefined" value (#650)
nelsonni Feb 16, 2022
1bb436c
Bump react-dnd from 14.0.5 to 15.1.1
dependabot[bot] Feb 28, 2022
abab493
Bump electron from 17.0.0 to 17.1.0 (#656)
dependabot[bot] Mar 4, 2022
ed37259
Downgrade to dot-prop@6.0.1 to mitigate ESM requirement #659
nelsonni Mar 3, 2022
99a5071
Tests can be located outside of __test__ directory
nelsonni Mar 3, 2022
1afa382
Fixed Mock test-utils for tests dependent on Redux store
nelsonni Mar 7, 2022
ab91786
Enable and open devTools in Node development environment
nelsonni Mar 7, 2022
b0941ba
Type definitions split into respective Redux slice files
nelsonni Mar 7, 2022
aabf973
Remove redundant icon files
nelsonni Mar 7, 2022
d94f552
Remove redundant disabling of ESLint explicit-module-boundary-types rule
nelsonni Mar 7, 2022
2a4723b
Stack updated to self-contained module folder structure
nelsonni Mar 7, 2022
3799fcd
Explorer updated to self-contained module folder structure
nelsonni Mar 7, 2022
121c0c4
Browser updated to self-contained module folder structure
nelsonni Mar 7, 2022
099cf3d
BranchList updated to self-contained module folder structure
nelsonni Mar 7, 2022
c570bb6
BranchRibbon updated to self-contained module folder structure
nelsonni Mar 7, 2022
fbad7a2
BranchTracker updated to self-contained module folder structure
nelsonni Mar 7, 2022
f3e5055
Diff updated to self-contained module folder structure
nelsonni Mar 7, 2022
a468ceb
Editor updated to self-contained module folder structure
nelsonni Mar 7, 2022
d4c47f4
ConflictManager updated to self-contained module folder structure
nelsonni Mar 7, 2022
39ca6e7
GitGraph updated to self-contained module folder structure
nelsonni Mar 7, 2022
8f8dfa4
Card updated to self-contained module folder structure
nelsonni Mar 7, 2022
a168731
Modal updated to self-contained module folder structure
nelsonni Mar 7, 2022
06ed3a3
Canvas updated to self-contained module folder structure
nelsonni Mar 7, 2022
3a3f789
Button components simplified naming with default export
nelsonni Mar 7, 2022
23c4b85
SourceControl updated to self-contained module folder structure
nelsonni Mar 7, 2022
77dba13
Components migrated to module file structure
nelsonni Mar 7, 2022
26cb704
Remove React.FunctionalComponent type defs from all components to pre…
nelsonni Mar 7, 2022
add2071
Removed accidentally created lib directory
nelsonni Mar 7, 2022
a09c169
Test suite migration to module file structure
nelsonni Mar 8, 2022
cfd3040
Type import fixes for old test suites
nelsonni Mar 8, 2022
f94003f
Bump webpack from 5.69.0 to 5.70.0 (#662)
dependabot[bot] Mar 8, 2022
528cb4f
Bump @types/jest from 27.4.0 to 27.4.1 (#661)
dependabot[bot] Mar 8, 2022
763d816
Bump luxon from 2.3.0 to 2.3.1 (#664)
dependabot[bot] Mar 8, 2022
0f36992
Bump electron from 17.1.0 to 17.1.1 (#663)
dependabot[bot] Mar 8, 2022
5cbbbb5
Bump @types/node from 17.0.18 to 17.0.21 (#666)
dependabot[bot] Mar 8, 2022
a747589
Bump @types/react-dom from 17.0.11 to 17.0.13 (#665)
dependabot[bot] Mar 8, 2022
471be6f
Bump @typescript-eslint/parser from 5.12.0 to 5.14.0 (#668)
dependabot[bot] Mar 8, 2022
6182aca
Bump eslint from 8.9.0 to 8.10.0 (#667)
dependabot[bot] Mar 8, 2022
56fc00a
Bump isomorphic-git from 1.11.2 to 1.13.1 (#669)
dependabot[bot] Mar 8, 2022
0a1214a
Bump @typescript-eslint/eslint-plugin from 5.12.0 to 5.14.0 (#671)
dependabot[bot] Mar 8, 2022
120c76e
Bump @types/luxon from 2.0.9 to 2.3.0 (#672)
dependabot[bot] Mar 8, 2022
e6a19be
Bump @reduxjs/toolkit from 1.7.2 to 1.8.0 (#673)
dependabot[bot] Mar 8, 2022
e8564d6
Bump typescript from 4.5.5 to 4.6.2 (#674)
dependabot[bot] Mar 8, 2022
ac3823e
Bump ts-loader from 9.2.6 to 9.2.7 (#677)
dependabot[bot] Mar 8, 2022
a9193f1
Bump css-loader from 6.6.0 to 6.7.0 (#675)
dependabot[bot] Mar 8, 2022
7d16860
Merge branch 'development' into dependabot/npm_and_yarn/development/r…
nelsonni Mar 8, 2022
8748e1d
Merge branch 'dependabot/npm_and_yarn/development/react-dnd-15.1.1' i…
nelsonni Mar 8, 2022
a79c37e
Bump react-dnd-test-utils from 14.1.0 to 15.1.1 (#637)
dependabot[bot] Mar 8, 2022
8a75288
Bump react-dnd-test-backend from 14.0.1 to 15.1.1 (#644)
dependabot[bot] Mar 8, 2022
e4efebb
Bump react-dnd-html5-backend from 14.1.0 to 15.1.2 (#641)
dependabot[bot] Mar 8, 2022
b7de1fc
Default to module file structure
nelsonni Mar 8, 2022
ba7504f
Bump @types/react from 17.0.39 to 17.0.40 (#678)
dependabot[bot] Mar 14, 2022
5f4b436
Bump electron from 17.1.1 to 17.1.2 (#682)
dependabot[bot] Mar 14, 2022
9941a56
Bump ts-loader from 9.2.7 to 9.2.8 (#680)
dependabot[bot] Mar 14, 2022
5f55a7c
Bump css-loader from 6.7.0 to 6.7.1 (#679)
dependabot[bot] Mar 14, 2022
59bc328
Bump @testing-library/react from 12.1.3 to 12.1.4 (#683)
dependabot[bot] Mar 14, 2022
e02f51a
Bump eslint from 8.10.0 to 8.11.0 (#681)
dependabot[bot] Mar 14, 2022
dcbb831
FSCache transitioned to use createListenerMiddleware from @reduxjs/to…
nelsonni Mar 23, 2022
cc379b4
Bump @types/react-dom from 17.0.13 to 17.0.14 (#690)
dependabot[bot] Mar 23, 2022
7fcb89b
Bump @types/react from 17.0.40 to 17.0.41 (#689)
dependabot[bot] Mar 23, 2022
03b253b
Bump @typescript-eslint/eslint-plugin from 5.14.0 to 5.15.0 (#688)
dependabot[bot] Mar 23, 2022
9661ac9
Bump @types/luxon from 2.3.0 to 2.3.1 (#687)
dependabot[bot] Mar 23, 2022
4230844
Bump @typescript-eslint/parser from 5.14.0 to 5.15.0 (#684)
dependabot[bot] Mar 23, 2022
493116c
Bump isomorphic-git from 1.13.1 to 1.15.0 (#686)
dependabot[bot] Mar 23, 2022
36b935d
Bump react-flow-renderer from 9.7.4 to 10.0.3 (#685)
dependabot[bot] Mar 25, 2022
12cd445
Bump electron from 17.1.2 to 17.2.0 (#696)
dependabot[bot] Mar 30, 2022
cb9b92e
Bump ts-jest from 27.1.3 to 27.1.4 (#693)
dependabot[bot] Mar 30, 2022
e40f0aa
Bump eslint from 8.11.0 to 8.12.0 (#700)
dependabot[bot] Mar 30, 2022
ca14b3a
Bump @typescript-eslint/eslint-plugin from 5.15.0 to 5.17.0 (#702)
dependabot[bot] Mar 30, 2022
2ead805
Bump isomorphic-git from 1.15.0 to 1.17.0 (#698)
dependabot[bot] Mar 30, 2022
a69a36f
Bump @types/validator from 13.7.1 to 13.7.2 (#694)
dependabot[bot] Mar 30, 2022
2bc407e
Bump @testing-library/dom from 8.11.3 to 8.12.0 (#695)
dependabot[bot] Mar 30, 2022
0a55725
Bump @types/node from 17.0.21 to 17.0.23 (#697)
dependabot[bot] Mar 30, 2022
c89caf2
Bump typescript from 4.6.2 to 4.6.3 (#706)
dependabot[bot] Mar 30, 2022
4789f30
Bump @testing-library/jest-dom from 5.16.2 to 5.16.3 (#705)
dependabot[bot] Mar 30, 2022
e0034b2
Bump @types/react from 17.0.41 to 17.0.43 (#707)
dependabot[bot] Mar 30, 2022
5195e1b
Bump @vercel/webpack-asset-relocator-loader from 1.7.0 to 1.7.2 (#708)
dependabot[bot] Mar 30, 2022
5472705
Selectors for all Filetype properties
nelsonni Mar 29, 2022
ba5c79a
Bump electron from 17.2.0 to 18.0.0 (#704)
dependabot[bot] Mar 30, 2022
90306d3
Bump @typescript-eslint/parser from 5.15.0 to 5.17.0 (#701)
dependabot[bot] Mar 30, 2022
7334e8a
Bump @testing-library/user-event from 13.5.0 to 14.0.0 (#703)
dependabot[bot] Mar 30, 2022
fa84e33
Progressive content loading (#728)
nelsonni Apr 26, 2022
e90ecf1
Bump @material-ui/lab from 4.0.0-alpha.60 to 4.0.0-alpha.61 (#712)
dependabot[bot] Apr 26, 2022
85c0251
Bump @reduxjs/toolkit from 1.8.0 to 1.8.1 (#716)
dependabot[bot] Apr 26, 2022
234902e
Bump webpack from 5.70.0 to 5.72.0 (#720)
dependabot[bot] Apr 26, 2022
d67b976
Bump @testing-library/user-event from 14.0.0 to 14.1.1 (#723)
dependabot[bot] Apr 26, 2022
7a15ba5
Bump react-flow-renderer from 10.0.6 to 10.1.2 (#727)
dependabot[bot] Apr 26, 2022
0b46794
Bump genversion from 3.0.2 to 3.1.1 (#731)
dependabot[bot] Apr 26, 2022
7c751c6
Bump @typescript-eslint/eslint-plugin from 5.17.0 to 5.21.0 (#732)
dependabot[bot] Apr 26, 2022
d83a6b8
Bump @types/node from 17.0.23 to 17.0.29 (#733)
dependabot[bot] Apr 26, 2022
469ad17
Bump @material-ui/icons from 4.11.2 to 4.11.3 (#734)
dependabot[bot] Apr 26, 2022
3536413
Bump luxon from 2.3.1 to 2.3.2 (#735)
dependabot[bot] Apr 26, 2022
8a98196
Bump @testing-library/jest-dom from 5.16.3 to 5.16.4 (#737)
dependabot[bot] Apr 26, 2022
aa9bc26
Bump @material-ui/core from 4.12.3 to 4.12.4 (#738)
dependabot[bot] Apr 26, 2022
6126e51
Bump react-ace from 9.5.0 to 10.1.0 (#739)
dependabot[bot] Apr 26, 2022
d5517ec
Bump @typescript-eslint/parser from 5.17.0 to 5.21.0 (#740)
dependabot[bot] Apr 26, 2022
75c6b83
Bump @testing-library/react-hooks from 7.0.2 to 8.0.0 (#742)
dependabot[bot] Apr 26, 2022
c8f31e6
Bump redux from 4.1.2 to 4.2.0 (#741)
dependabot[bot] Apr 27, 2022
5abf66e
Bump ini from 2.0.0 to 3.0.0 (#743)
dependabot[bot] Apr 27, 2022
4cfe61d
Bump fork-ts-checker-webpack-plugin from 7.2.1 to 7.2.7 (#744)
dependabot[bot] Apr 27, 2022
9bc8f9b
Bump electron from 18.0.0 to 18.1.0 (#745)
dependabot[bot] Apr 27, 2022
08ab3a6
Bump isomorphic-git from 1.17.0 to 1.17.1 (#746)
dependabot[bot] Apr 27, 2022
0d19352
Bump ts-loader from 9.2.8 to 9.2.9 (#748)
dependabot[bot] Apr 27, 2022
bea93cc
Bump @testing-library/dom from 8.12.0 to 8.13.0 (#749)
dependabot[bot] Apr 27, 2022
efa4e35
Bump eslint from 8.12.0 to 8.14.0 (#750)
dependabot[bot] Apr 27, 2022
279939e
Bump @types/react-dom from 17.0.14 to 18.0.0 (#751)
dependabot[bot] Apr 27, 2022
7f9ee2c
Bump eslint-plugin-import from 2.25.4 to 2.26.0 (#752)
dependabot[bot] Apr 27, 2022
9338139
Bump @testing-library/react from 12.1.4 to 12.1.5 (#753)
dependabot[bot] Apr 27, 2022
7731273
Fix for worktree branches creating separate Repository entries in Red…
nelsonni Apr 28, 2022
73d4d63
Add Root field to back of SourceControl cards
nelsonni Apr 28, 2022
0f820da
Feat: Dialog for creating new branches (#755)
nelsonni May 2, 2022
8bc335e
Bump ts-loader from 9.2.9 to 9.3.0 (#754)
dependabot[bot] May 2, 2022
6d3a8bc
Remove transpileOnly for ts-loader since fork-ts-checker-webpack-plug…
nelsonni May 2, 2022
a3c90c8
Bump @typescript-eslint/eslint-plugin from 5.21.0 to 5.22.0 (#756)
dependabot[bot] May 2, 2022
51e68f8
Bump @types/react-dom from 18.0.0 to 18.0.3 (#757)
dependabot[bot] May 2, 2022
dcff566
Bump @types/node from 17.0.29 to 17.0.31 (#758)
dependabot[bot] May 2, 2022
66c85d1
Bump @typescript-eslint/parser from 5.21.0 to 5.22.0 (#759)
dependabot[bot] May 2, 2022
4f7c6fc
Bump fork-ts-checker-webpack-plugin from 7.2.7 to 7.2.11 (#760)
dependabot[bot] May 2, 2022
2ef34ba
Bump @types/jest from 27.4.1 to 27.5.0 (#761)
dependabot[bot] May 2, 2022
4b4edf5
Bump electron from 18.1.0 to 18.2.0 (#762)
dependabot[bot] May 2, 2022
4b86d02
Bump typescript from 4.6.3 to 4.6.4 (#764)
dependabot[bot] May 2, 2022
2bea731
Bump @types/luxon from 2.3.1 to 2.3.2 (#763)
dependabot[bot] May 2, 2022
b8319ef
Bump @types/react from 17.0.43 to 18.0.8 (#736)
dependabot[bot] May 3, 2022
9aba9bb
FSCacheProvider component parameter updated to conform to React v18 p…
nelsonni May 3, 2022
64e09da
Remove redundant branch query/updates in cloneRepository for newly cl…
nelsonni May 3, 2022
8b3cdff
branches.selectByRoot updated with branch name as optional third argu…
nelsonni May 3, 2022
4ddc0c6
Added LinearProgressWithLabel to StatusIcon components
nelsonni May 3, 2022
a0a4d7b
Standardized handleClick naming for click event handlers
nelsonni May 3, 2022
5ff602f
Linear progress indicators and bugfixes for UX in CloneDialog
nelsonni May 3, 2022
57678e2
Replace deprecated KeyboardEvent.keyCode with KeyboardEvent.key in Br…
nelsonni May 3, 2022
ad3b3fb
Updated Browser test suite to prefer named keyCode on fireEvent.keyDown
nelsonni May 3, 2022
f460d85
Bump eslint from 8.14.0 to 8.15.0 (#768)
dependabot[bot] May 9, 2022
8353d30
Bump eslint-plugin-testing-library from 5.3.1 to 5.4.0 (#767)
dependabot[bot] May 9, 2022
161e8db
Bump react-flow-renderer from 10.2.0 to 10.2.2 (#766)
dependabot[bot] May 9, 2022
b9b9bec
Bump @types/react from 18.0.8 to 18.0.9 (#765)
dependabot[bot] May 9, 2022
27ec82c
Removed unused CSS styles and SVG arrow images
nelsonni May 10, 2022
0baecf6
Enable webPreferences.webviewTag for Electron.webviewTag support
nelsonni May 10, 2022
21b7c8c
Add eslint-plugin-react-hooks for exhaustive-deps rule to warn when u…
nelsonni May 10, 2022
8b41067
Custom useHistory hook for managing past, present, future URLs in Bro…
nelsonni May 10, 2022
eb1176f
UrlBar component for handling layout of back, forward, refresh buttons
nelsonni May 10, 2022
89558c8
Browser component ported to use MUI components and React Hooks
nelsonni May 10, 2022
877d304
Remove accidentally included console.log statements
nelsonni May 10, 2022
1cd93b9
getRandomInt function for generating random numbers in a bounded range
nelsonni May 10, 2022
a5ceb6e
Randomized width of Skeleton components during content loading
nelsonni May 10, 2022
f1c75c6
containers/format renamed to containers/utils
nelsonni May 10, 2022
50000b8
branchSelectors.selectByRepo repo parameter expanded to handle Reposi…
nelsonni May 10, 2022
09abeb4
Fixed conditional useAppSelector call to definitively call branchSele…
nelsonni May 10, 2022
1dcd32f
useWatcher hook updated to handle conditionally defined event handler…
nelsonni May 10, 2022
6d194c0
Fix for conditional hook calls in useGitWatcher to defer to useWatche…
nelsonni May 10, 2022
66f4168
Disable ESLint react-hooks/exhaustive-deps rules for useEffect hooks …
nelsonni May 10, 2022
7c1c65d
Updated useCallback deps for memoized updates based on repo and branches
nelsonni May 10, 2022
4a6669b
Updated useEffect deps for updating git history when repo changes in …
nelsonni May 10, 2022
2ef0a3f
Disable ESLint react-hooks/exhaustive-deps rule on useGitGraph hook s…
nelsonni May 10, 2022
087d48f
Updated test suite snapshots for renamed containers/utils
nelsonni May 10, 2022
df3dc42
isHydrated expanded to allow virualMetafile to be considered hydrated
nelsonni May 11, 2022
9f47aad
thunks/metafiles/fetchConflicted renamed to updateConflicted and expa…
nelsonni May 12, 2022
5b26440
GitGraphSelect component properly resets during live reloads and when…
nelsonni May 13, 2022
5ce6ad6
Add TS types for state in Redux store slice reducers
nelsonni May 17, 2022
411bc5d
Cleanup unused import
nelsonni May 17, 2022
40ac002
Catch all rejected action creator from createAsyncThunk and print err…
nelsonni May 17, 2022
2357238
Bump luxon from 2.3.2 to 2.4.0 (#775)
dependabot[bot] May 17, 2022
6438187
Bump @typescript-eslint/parser from 5.22.0 to 5.23.0 (#774)
dependabot[bot] May 17, 2022
42c7dae
Bump webpack from 5.72.0 to 5.72.1 (#769)
dependabot[bot] May 17, 2022
0b9aa71
Bump eslint-plugin-testing-library from 5.4.0 to 5.5.0 (#770)
dependabot[bot] May 17, 2022
9a9546a
Bump isomorphic-git from 1.17.1 to 1.17.2 (#771)
dependabot[bot] May 17, 2022
d048d25
Bump electron from 18.2.0 to 18.2.3 (#772)
dependabot[bot] May 17, 2022
fa5ef5d
Bump @types/node from 17.0.31 to 17.0.34 (#776)
dependabot[bot] May 17, 2022
6b24ed1
Bump @types/pako from 1.0.3 to 2.0.0 (#777)
dependabot[bot] May 17, 2022
fe3855b
Bump @typescript-eslint/parser from 5.23.0 to 5.25.0 (#779)
dependabot[bot] May 18, 2022
ee37c9e
Bump @typescript-eslint/eslint-plugin from 5.22.0 to 5.25.0 (#780)
dependabot[bot] May 18, 2022
7d3fc49
Bump @testing-library/user-event from 14.1.1 to 14.2.0 (#778)
dependabot[bot] May 18, 2022
8fa9cfc
Add Skeleton to indicate pending/loading VersionedMetafile information
nelsonni May 18, 2022
40b90a3
BranchRibbon loading Skeleton component is styled based on underlying…
nelsonni May 18, 2022
091f10a
Remove references to dependent packages that have been removed from p…
nelsonni May 18, 2022
8b8ddf7
Bugfix for out-of-range error on MUI Select component when Redux stor…
nelsonni May 20, 2022
6d83930
Temporary disable of Head commit info on ExplorerReverse component
nelsonni May 20, 2022
d9d2446
v2.0.0-beta
nelsonni May 20, 2022
10505fd
Prevent Clone Dialog being closed while cloning process is still running
nelsonni May 20, 2022
8d2e949
branches.selectByRoot expanded to accept an optional branch parameter…
nelsonni May 23, 2022
59c1897
fetchBranch uses scope identifier when matching branches based on roo…
nelsonni May 23, 2022
c6fc8f4
Branch type expanded to include array of loading states for both meta…
nelsonni May 23, 2022
f8c345d
BranchList component displays loading Skeleton component when updatin…
nelsonni May 23, 2022
fe47ab8
Bump @types/node from 17.0.34 to 17.0.35 (#782)
dependabot[bot] May 23, 2022
e10127b
Bump electron from 18.2.3 to 18.2.4 (#784)
dependabot[bot] May 23, 2022
d91c43d
Bump eslint from 8.15.0 to 8.16.0 (#785)
dependabot[bot] May 23, 2022
b5dead0
Bump react-flow-renderer from 10.2.2 to 10.2.3 (#783)
dependabot[bot] May 23, 2022
c694eba
delay() function consolidated to utils.delay()
nelsonni May 24, 2022
954e5e8
Modal type definition updated to set optional subtype parameter as pa…
nelsonni May 24, 2022
4b0047e
checkProject onProgress emitter for live updates on evaluating for co…
nelsonni May 25, 2022
9457cf6
updateConflicted creates missing metafiles for conflicted files if pr…
nelsonni May 26, 2022
bb18789
branchLog emits progress indicators
nelsonni May 31, 2022
087ffb5
BranchList component displays branches in alphabetically sorted order
nelsonni May 31, 2022
f43d0a5
MergeDialog expanded to include separate DeltaTimeline and MergeTimel…
nelsonni May 31, 2022
c4c977c
Bump typescript from 4.6.4 to 4.7.2 (#787)
dependabot[bot] May 31, 2022
d942af1
Bump @types/node from 17.0.35 to 17.0.36 (#786)
dependabot[bot] May 31, 2022
5cb421b
Bump @reduxjs/toolkit from 1.8.1 to 1.8.2 (#789)
dependabot[bot] May 31, 2022
db4492c
Bump react-flow-renderer from 10.2.3 to 10.3.4 (#788)
dependabot[bot] May 31, 2022
6d33200
Bump diff from 5.0.0 to 5.1.0 (#790)
dependabot[bot] May 31, 2022
a16bd13
Bump electron from 18.2.4 to 19.0.1 (#793)
dependabot[bot] May 31, 2022
2e209b9
Bump eslint-plugin-testing-library from 5.5.0 to 5.5.1 (#791)
dependabot[bot] May 31, 2022
74e2c72
Bump @typescript-eslint/parser from 5.25.0 to 5.27.0 (#794)
dependabot[bot] May 31, 2022
bba6ffb
Bump @typescript-eslint/eslint-plugin from 5.25.0 to 5.27.0 (#795)
dependabot[bot] May 31, 2022
6423f39
Bugfix for fetching branches based on root path when multiple branche…
nelsonni May 31, 2022
1fcb60a
Yarn.lock update for @typescript-eslint/scope-manager@5.25.0
nelsonni May 31, 2022
8f4cccb
Randomized offset for new cards so that all new cards are not visuall…
nelsonni May 31, 2022
4beece5
BranchRibbon long text uses CSS nowrap rule
nelsonni May 31, 2022
08d2b3f
Bugfix for infinite loop in loading files from ConflictManager
nelsonni Jun 1, 2022
bcfa3c6
Each card instance of a file should have a different metafile so that…
nelsonni Jun 1, 2022
973e0be
Fix for race-condition when multiple files are loaded via fileOpenDia…
nelsonni Jun 1, 2022
541476f
Expanded range of possible new card left/top positions
nelsonni Jun 1, 2022
d67aa23
Full-screen mode for CardComponent
nelsonni Jun 2, 2022
5c57431
Editor automatically calls Ace Editor editor.resize() based on 'expan…
nelsonni Jun 2, 2022
ff5193b
Skeleton component widths determined by metafile.name.length for clos…
nelsonni Jun 2, 2022
c4cd413
Consistent naming for CSS-in-JS implementations
nelsonni Jun 2, 2022
c97301f
Optional scope parameter for branches.selectByRef selector
nelsonni Jun 3, 2022
01976d3
resolveWorktree JSDoc updated to indicate resolutions for previously …
nelsonni Jun 3, 2022
00d91bc
fetchMetafile thunk typedef for results from existing metafiles selector
nelsonni Jun 3, 2022
0424b25
fetchBranch thunk uses selectByRef instead of selectByRoot for locati…
nelsonni Jun 3, 2022
b39a40b
BranchList clean-up inlined filter and sort for branches options
nelsonni Jun 3, 2022
e1d8a49
Verify defined versioned fields for updated metafiles
nelsonni Jun 3, 2022
fb479f5
Skeleton component for indicating BranchList loading enabled by appen…
nelsonni Jun 3, 2022
78362f3
MergeDialog runMerge checks for merge errors before declaring success…
nelsonni Jun 3, 2022
05774e9
Check for non-local branch merge targets and append origin/{branch} w…
nelsonni Jun 3, 2022
4538678
Display error and conflict messages on MergeTimelineContent component
nelsonni Jun 3, 2022
56152e7
Indicate results of updatedVersionedMetafile thunk including reasons …
nelsonni Jun 3, 2022
f347679
Mock currentBranch during updateVersionedMetafile testing
nelsonni Jun 3, 2022
1c6459f
createCard via filepath always creates new metafile to allow cache to…
nelsonni Jun 3, 2022
6935df3
Refine return type from cardSelectors.selectByMetafile to include und…
nelsonni Jun 3, 2022
2ef5c97
Bump electron from 19.0.1 to 19.0.3 (#796)
dependabot[bot] Jun 6, 2022
5d33fd7
Bump webpack from 5.72.1 to 5.73.0 (#802)
dependabot[bot] Jun 6, 2022
3163300
Bump typescript from 4.7.2 to 4.7.3 (#803)
dependabot[bot] Jun 6, 2022
92be447
Bump @types/node from 17.0.36 to 17.0.40 (#797)
dependabot[bot] Jun 6, 2022
1bf8bb9
Bump @types/validator from 13.7.2 to 13.7.3 (#798)
dependabot[bot] Jun 6, 2022
aecfdc4
Bump eslint from 8.16.0 to 8.17.0 (#799)
dependabot[bot] Jun 6, 2022
d0a25ca
Bump react-flow-renderer from 10.3.4 to 10.3.5 (#800)
dependabot[bot] Jun 6, 2022
01baaf4
Bump isomorphic-git from 1.17.2 to 1.17.3 (#801)
dependabot[bot] Jun 6, 2022
bd15142
Bump @typescript-eslint/eslint-plugin from 5.27.0 to 5.27.1 (#804)
dependabot[bot] Jun 6, 2022
369f1db
Bump @typescript-eslint/parser from 5.27.0 to 5.27.1 (#805)
dependabot[bot] Jun 6, 2022
362f1db
Cleanup debug console.log statements
nelsonni Jun 7, 2022
cffc229
Fix #699: Use TS 4.7 Instantiation Expressions for filterObject retur…
nelsonni Jun 7, 2022
54acfa9
Merge branch 'main' into development
nelsonni Jun 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
"plugin:import/electron",
"plugin:import/typescript"
"plugin:import/typescript",
"plugin:testing-library/react",
"plugin:react-hooks/recommended"
],
"parser": "@typescript-eslint/parser"
}
}
29 changes: 8 additions & 21 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ Several Webpack Loaders are include in Synectic:

Additionally, we take advantage of [Asset Modules](https://webpack.js.org/guides/asset-modules/) for using asset files (fonts, icons, etc.) without configuring additional loaders.


**Packages:**
* *`devDependencies`*
* `@electron-forge/plugin-webpack`
Expand Down Expand Up @@ -93,7 +92,6 @@ Synectic has the following `CompilerOptions` set in `tsconfig.json`:
| `baseUrl` | `"."` | Base directory to resolve non-absolute module names |
| `paths` | `{"*": ["node_modules/*"]}` | A series of entries which re-map imports to lookup locations relative to the `baseUrl` |


# React

[React](https://reactjs.org/) is a JavaScript library for building user interfaces. It is maintained by Facebook and a community of individual developers and companies. React is a declarative, component-based framework that works with JSX and TSX formats to manage state, route applications, and render HTML injections.
Expand Down Expand Up @@ -126,11 +124,11 @@ Synectic includes [Node.js intergration](https://electronjs.org/docs/tutorial/se

Synectic uses Redux to manage stateful data about content that is displayed within React components in the user interface. For example, the state of code in a Code Editor card is managed through Redux and displayed in a React component element. Synectic follows the [Redux Toolkit](https://redux-toolkit.js.org/), which bundles the [`redux`](https://github.com/reduxjs/redux) core, [`redux-thunk`](https://github.com/reduxjs/redux-thunk), [`reselect`](https://github.com/reduxjs/reselect), and [`immer`](https://github.com/mweststrate/immer) modules and default configurations to simplify store setup, creating reducers, immutable update logic, combined as a strongly-typed infrastructure library.

Synectic also uses the `redux-thunk` middleware to allow writing action creators that return a function instead of an action. The [thunk](https://en.wikipedia.org/wiki/Thunk) can be used to delay the dispatch of an action, or to dispatch only if a certain condition is met (i.e. asynchronous or conditional dispatch). The inner function receives the store methods `dispatch` and `getState` as parameters.
Synectic relies heavily on the use of `thunks` via the [`redux-thunk`](https://github.com/reduxjs/redux-thunk) module in [Redux Toolkit](https://redux-toolkit.js.org/), which allows writing action creators that return a function instead of an action. The [thunk](https://en.wikipedia.org/wiki/Thunk) can be used to delay the dispatch of an action, or to dispatch only if a certain condition is met (i.e. asynchronous or conditional dispatch). The inner function receives the store methods `dispatch` and `getState` as parameters.

The [`redux-devtools`](https://github.com/reduxjs/redux-devtools) module provides a Redux tab in Chrome DevTools for hot reloading, action replay, and a customizable UI for Redux state debugging.

The [`@jedmao/redux-mock-store`](https://github.com/jedmao/redux-mock-store) module is a TypeScript fork of [`reduxjs/redux-mock-store`](https://github.com/reduxjs/redux-mock-store), which provides a mock store for testing Redux async action creators and middleware. The mock store will create an array of dispatched actions which serve as an action log for tests.
The [`reduxjs/redux-mock-store`](https://github.com/reduxjs/redux-mock-store) module, which provides a mock store for testing Redux async action creators and middleware. The mock store will create an array of dispatched actions which serve as an action log for tests.

The [`redux-persist`](https://github.com/rt2zz/redux-persist) module provides the ability to persist and rehydrate Redux store state between application refreshes and restarts.

Expand All @@ -143,7 +141,6 @@ The [`redux-persist`](https://github.com/rt2zz/redux-persist) module provides th
* `redux-devtools`
* `redux-mock-store`
* `redux-persist`
* `@jedmao/redux-mock-store` __THIS MIGHT NOT BE NEEDED ANYMORE__

# ESLint

Expand All @@ -153,27 +150,16 @@ Synectic uses ESLint to statically analyze TypeScript and React code for complia

The TypeScript project has typically advocated and maintained [TSLint](https://palantir.github.io/tslint/) for TypeScript static analysis, but has more recently begun to transition towards ESLint in order to take advantage of the more-performant architecture and framework support (e.g. rules for React Hook or Vue); per the TypeScript [roadmap](https://github.com/Microsoft/TypeScript/issues/29288). Therefore, we have followed the ESLint configuration steps described in a blog post from Christopher Pappas, ["From TSLint to ESLint, or How I Learned to Lint GraphQL Code"](https://artsy.github.io/blog/2019/01/29/from-tslint-to-eslint/) (published 2019.01.29).

The [`@typescript-eslint/eslint-plugin`](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin) module is an ESLint-specific plugin which, when used in conjunction with `@typescript-eslint/parser`, allows for TypeScript-specific linting rules to run. The [`@typescript-eslint/parser`](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser) module provides an ESLint-specific parser which leverages `typescript-estree` and is designed to be used as a replacement for ESLint's default parser, `espree`.

The [`eslint-plugin-import`](https://www.npmjs.com/package/eslint-plugin-import) module intends to support linting of ES2015+ (ES6+) import/export syntax, and prevent issues with misspelling of file paths and import names.

The [`eslint-plugin-react`](https://www.npmjs.com/package/eslint-plugin-react) module provides React specific rules for ESLint.
The [`@typescript-eslint/eslint-plugin`](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin) module is an ESLint-specific plugin which, when used in conjunction with `@typescript-eslint/parser`, allows for TypeScript-specific linting rules to run. The [`@typescript-eslint/parser`](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser) module provides an ESLint-specific parser which leverages `typescript-estree` and is designed to be used as a replacement for ESLint's default parser, `espree`.

The [`eslint-plugin-jest`](https://www.npmjs.com/package/eslint-plugin-jest) module exports a recommended configuration that enforces good testing practices.

The [`eslint-plugin-testing-library`](https://www.npmjs.com/package/eslint-plugin-testing-library) module provides specific rules for following best practices and anticipating common mistakes when writing tests with [Testing Library](https://testing-library.com/).

The [`eslint-plugin-jest-dom`](https://www.npmjs.com/package/eslint-plugin-jest-dom) module provides specific rules for best practices and anticipating common mistakes when writing tests with [`@testing-library/jest-dom`](https://www.npmjs.com/package/@testing-library/jest-dom).
The [`eslint-plugin-import`](https://www.npmjs.com/package/eslint-plugin-import) module intends to support linting of ES2015+ (ES6+) import/export syntax, and prevent issues with misspelling of file paths and import names. The [`eslint-plugin-testing-library`](https://www.npmjs.com/package/eslint-plugin-testing-library) module provides specific rules for following best practices and anticipating common mistakes when writing tests with [Testing Library](https://testing-library.com/).

**Packages:**
* *`devDependencies`*
* `eslint`
* `@typescript-eslint/eslint-plugin`
* `@typescript-eslint/parser`
* `eslint-plugin-import`
* `eslint-plugin-jest`
* `eslint-plugin-jest-dom`
* `eslint-plugin-react`
* `eslint-plugin-react-hooks`
* `eslint-plugin-testing-library`

Expand Down Expand Up @@ -235,7 +221,7 @@ Synectic has the following [Jest](#Jest) options set in `jest.config.js`:

| Setting | Value | Description |
| ------------------------------------------ |:---------------------------:| ----------------------------------------------------:|
| `setupFilesAfterEnv` | `['<rootDir>/__test__/setupTests.ts']` | A list of paths to modules that configure or setup the testing framework before each test (i.e. the actions defined in `setupTests.ts` executes after environment setup) |
| `setupFilesAfterEnv` | `['<rootDir>/src/test-utils/setupTests.ts']` | A list of paths to modules that configure or setup the testing framework before each test (i.e. the actions defined in `setupTests.ts` executes after environment setup) |
| `preset` | `ts-jest` | All TypeScript files (`.ts` and `.tsx`) will be handled by `ts-jest`; JavaScript files are not processed |
| `roots` | `['<rootDir>/__test__']` | Jest will only search for test files in the `__test__` directory |
| `snapshotSerializers` | `['jest-serializer-path']` | Enables the `jest-serializer-path` for removing absolute paths and normalizing paths across all platforms in Jest snapshots |
Expand All @@ -255,11 +241,12 @@ The [`react-select-event`](https://testing-library.com/docs/ecosystem-react-sele

The [`@testing-library/react-hooks`](https://github.com/testing-library/react-hooks-testing-library) module allows for React hooks testing by wrapping the hook in a function component, and providing various useful utility functions for updating the inputs and retrieving the outputs of custom hooks without having to construct, render, or interact with additional React components. It has peer dependencies with the `react` and `react-test-renderer` packages.

The [`@testing-library/user-event`](https://github.com/testing-library/user-event) module provides the ability to simulate the real events that would happen in the browser as the user interacts with it. This enables adherence to Kent C. Dodd's principle idea that ["The more your tests resemble the way your software is used, the more confidence they can give you."](https://twitter.com/kentcdodds/status/977018512689455106).

**Packages:**
* *`devDependencies`*
* `@testing-library/dom`
* `@testing-library/jest-dom`
* `@testing-library/react`
* `@testing-library/react-hooks`
* `react-select-event`
* `react-test-renderer`
* `@testing-library/user-event`
2 changes: 1 addition & 1 deletion DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The design for Synectic is based on bubbling up principles used in the underlyin

This means that all data in Synectic follows the same lifecycle pattern, making the logic more predictable and easier to understand. A UI **view** is a result of the application **state**. **State** can only change when **actions** happen. And when **actions** happen, the **state** is updated. This principle encourages data normalization, so that we don't end up with multiple, independent copies of the same data that are unaware of one another (see [Single source of truth](#Single-source-of-truth), [State is read-only](#State-is-read-only), and [Changes are made with pure functions](#Changes-are-made-with-pure-functions)).

Within our React component tree, this principles means that state is always owned by one component. Any data that is affected by this state can only affect components below it (i.e. it's children). Changing state on a component will never affect its parentt, or its siblings, or any other component in the application; just its children. For this reason, a lot of the state is moved up in the component tree so that it can be shared between components that need access to it.
Within our React component tree, this principles means that state is always owned by one component. Any data that is affected by this state can only affect components below it (i.e. it's children). Changing state on a component will never affect its parent, or its siblings, or any other component in the application; just its children. For this reason, a lot of the state is moved up in the component tree so that it can be shared between components that need access to it.

Derived from [Redux's Data Flow](https://redux.js.org/basics/data-flow).

Expand Down
73 changes: 0 additions & 73 deletions __test__/Browser.spec.tsx

This file was deleted.

95 changes: 0 additions & 95 deletions __test__/CanvasComponent.oldspec.tsx

This file was deleted.