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

Feature/4401 creating langium parser git graph #5664

Merged
Show file tree
Hide file tree
Changes from 53 commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
1d0e98d
Added the langium module for gitGraph
Jul 21, 2024
6f7c291
Added gitGraphAst as typescript added gitGraphTypes and gitGraphParser
Jul 22, 2024
ebd4da9
Merge branch 'mermaid-js:develop' into feature/4401_creating_langium_…
Austin-Fulbright Jul 24, 2024
5460bc0
fixed checkout branch with no commits
Jul 24, 2024
d2e2017
fixed undefined for type errors
Jul 24, 2024
0b67cff
fixed cherrypicking tests
Jul 24, 2024
1a95d48
added Imperative state
Jul 24, 2024
d0eadeb
added parser
Jul 25, 2024
1af9094
fixed options e2e test
Jul 25, 2024
a386bd0
fixed tags for gitGraph
Jul 27, 2024
887e580
fixed some features and added propper default direction
Jul 27, 2024
3168084
fixed rendering
Jul 27, 2024
9f6a7b7
allows for custom merge type
Austin-Fulbright Jul 27, 2024
275dbe9
fixed all rendering differences
Jul 27, 2024
0d4c3e5
added unit tests for gitGraph parser
Jul 27, 2024
e57fee1
Update packages/mermaid/src/diagrams/git/gitGraphAst.ts
Austin-Fulbright Jul 27, 2024
62757c5
Update packages/mermaid/src/diagrams/git/gitGraphAst.ts
Austin-Fulbright Jul 27, 2024
281064f
Update packages/mermaid/src/diagrams/git/gitGraphAst.ts
Austin-Fulbright Jul 27, 2024
ec2d9c9
Update packages/mermaid/src/diagrams/git/gitGraphParser.ts
Austin-Fulbright Jul 27, 2024
5dfc94e
Update packages/mermaid/src/diagrams/git/gitGraphParser.ts
Austin-Fulbright Jul 27, 2024
871f047
Update packages/parser/src/language/gitGraph/module.ts
Austin-Fulbright Jul 27, 2024
6e5e5f9
Update packages/mermaid/src/diagrams/git/gitGraphAst.ts
Austin-Fulbright Jul 27, 2024
346efdd
Update packages/mermaid/src/diagrams/git/gitGraphAst.ts
Austin-Fulbright Jul 27, 2024
a0207f9
Update packages/mermaid/src/diagrams/git/gitGraphAst.ts
Austin-Fulbright Jul 27, 2024
6c1e5aa
Delete packages/mermaid/src/diagrams/git/parser/gitGraph.jison
Austin-Fulbright Jul 27, 2024
ef25160
Update packages/mermaid/src/diagrams/git/gitGraphAst.ts
Austin-Fulbright Jul 27, 2024
f30085c
Update packages/mermaid/src/diagrams/git/gitGraphAst.ts
Austin-Fulbright Jul 27, 2024
9ed38cc
Merge branch 'mermaid-js:develop' into feature/4401_creating_langium_…
Austin-Fulbright Aug 5, 2024
2a38d46
fixed the rest of the concerns, refactored portions of the gitGraphPa…
Aug 5, 2024
38e048b
fixed hash error loc & line properties
Aug 5, 2024
8fe0ed1
added parser test and combined the two gitGraph tests
Aug 6, 2024
00603e7
fix ts-ignore errors refactored large functions to use helpers
Aug 8, 2024
2218929
fixed types in gitGraphTypes
Aug 8, 2024
a93b832
made draw commit more readable, included more helper functions and in…
Aug 10, 2024
e0d0cdc
Merge branch 'mermaid-js:develop' into feature/4401_creating_langium_…
Austin-Fulbright Aug 10, 2024
62950c3
finished gitGraphRenderer.ts
Aug 10, 2024
269284c
added parser unit tests and organized config in gitGraphAst.ts
Aug 10, 2024
d684e0d
added more unit tests to gitGraphParser.ts and gitGraphRenderer.ts
Aug 10, 2024
c49a1bf
fixed custom type REVERSE for merge, fixed branch spacing for TB
Aug 10, 2024
aba306b
fixed highlight color
Aug 10, 2024
d73a090
fixed BT with parallel commits and added more unit tests
Aug 11, 2024
73aae9e
Merge branch 'develop' into feature/4401_creating_langium_parser_gitG…
Austin-Fulbright Aug 12, 2024
d50150c
Merge branch 'mermaid-js:develop' into feature/4401_creating_langium_…
Austin-Fulbright Aug 13, 2024
3539a35
[autofix.ci] apply automated fixes
autofix-ci[bot] Aug 13, 2024
299e559
added config as global
Aug 14, 2024
53798be
fixed gitgraphconfig problem
Aug 15, 2024
66e53df
added most suggested changes
Aug 20, 2024
b93691b
fixed small error
Aug 20, 2024
4ec0dcf
Merge branch 'develop' into feature/4401_creating_langium_parser_gitG…
Austin-Fulbright Aug 20, 2024
d9d9cc9
added objects to be transfered from parser to db
Aug 20, 2024
7a7b415
implemented transfer objects from parser to db
Aug 20, 2024
94ee076
fixed config for user configs
Aug 20, 2024
3ac2429
fixed merge
Aug 20, 2024
8ef30a2
Merge branch 'develop' into feature/4401_creating_langium_parser_gitG…
Austin-Fulbright Aug 20, 2024
24ba5b7
added gitgraph in imperative state
Aug 20, 2024
52f5d95
Merge branch 'develop' into feature/4401_creating_langium_parser_gitG…
Austin-Fulbright Aug 21, 2024
6c89763
Merge branch 'develop' into feature/4401_creating_langium_parser_gitG…
sidharthv96 Aug 23, 2024
a87f773
Merge branch 'develop' into pr/Austin-Fulbright/5664
sidharthv96 Aug 23, 2024
5deaef4
chore: add changeset
sidharthv96 Aug 23, 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
1,322 changes: 1,322 additions & 0 deletions packages/mermaid/src/diagrams/git/gitGraph.spec.ts

Large diffs are not rendered by default.

535 changes: 0 additions & 535 deletions packages/mermaid/src/diagrams/git/gitGraphAst.js

This file was deleted.

519 changes: 519 additions & 0 deletions packages/mermaid/src/diagrams/git/gitGraphAst.ts

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions packages/mermaid/src/diagrams/git/gitGraphDiagram.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// @ts-ignore: JISON doesn't support types
import gitGraphParser from './parser/gitGraph.jison';
import gitGraphDb from './gitGraphAst.js';
import { parser } from './gitGraphParser.js';
import { db } from './gitGraphAst.js';
import gitGraphRenderer from './gitGraphRenderer.js';
import gitGraphStyles from './styles.js';
import type { DiagramDefinition } from '../../diagram-api/types.js';

export const diagram: DiagramDefinition = {
parser: gitGraphParser,
db: gitGraphDb,
parser,
db,
renderer: gitGraphRenderer,
styles: gitGraphStyles,
};
272 changes: 0 additions & 272 deletions packages/mermaid/src/diagrams/git/gitGraphParser.spec.js

This file was deleted.

Loading
Loading