Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
177 commits
Select commit Hold shift + click to select a range
df4ceae
feat(app): add user profiles for education zone and public/permament …
polubis May 27, 2024
83564f8
fix(app): remove double slashed url in robots.txt (#200)
polubis May 28, 2024
2bc6313
fix(app): performance check (#201)
polubis May 28, 2024
aa934eb
fix(app): performance check metrics (#203)
polubis May 28, 2024
12f6b4c
feat(app): add footer links highlight when active page (#204)
polubis May 28, 2024
2cf5941
fix(app): invisible text in markdown editor when no content (#205)
polubis May 28, 2024
92e22b2
fix(app): remove gatsby-plugin-dark-mode (#209)
polubis May 29, 2024
757b4ee
fix(app): themes sync (#210)
polubis May 29, 2024
ab19541
feat(app): add additional e2e tests for permament document page (#212)
polubis May 30, 2024
1c8e909
fix(app): change auth mechanism from redirect to simple popup (#214)
polubis Jun 18, 2024
f3336ce
feat(app): add debounce and performance improvement for creator (#216)
polubis Jun 20, 2024
d67c604
chore(app): remove not needed testing libraries (#222)
polubis Jun 24, 2024
9639227
feat(app): add seo friendly hints to permament documents form descrip…
polubis Jun 26, 2024
b3a2613
chore(app): add option to mock BE endpoints in e2e (#226)
polubis Jun 28, 2024
b63f311
feat(app): change code widget behavior (#231)
polubis Jun 28, 2024
97cdca0
perf(app): improve performance of updating document code (#234)
polubis Jul 2, 2024
9a14906
chore(app): add more e2e tests for separated components (#248)
polubis Jul 3, 2024
057f749
fix(app): spacing in documents/list and x-scroll in preview (#251)
polubis Jul 4, 2024
6700081
perf(app): remove framer-motion (#256)
polubis Jul 9, 2024
71c8199
perf(app): remove zod (#257)
polubis Jul 9, 2024
9d375aa
fix(app); remove flash screen issue in creator (#258)
polubis Jul 9, 2024
60e3678
feat(app): get loading of users data cached (#259)
polubis Jul 9, 2024
de60bed
fix(app): disable edit button when request pending in creator (#262)
polubis Jul 9, 2024
3047b68
fix(app): remove navigation errors caused by meta (#263)
polubis Jul 10, 2024
2f972d0
fix(app): copy button for snippets (#266)
polubis Jul 10, 2024
64368fb
feat(app): migrate from double urls to single one (#268)
polubis Jul 10, 2024
21c3cd7
fix(app): canonical urls in head section (#269)
polubis Jul 10, 2024
f5875b4
ci(app): implement stable performance check audit (#273)
polubis Jul 11, 2024
a2c2c07
fix(app): block scan for legacy and preview based pages for crawlers …
polubis Jul 11, 2024
f1db813
feat(app): remove auto selection on previously deleted document (#278)
polubis Jul 12, 2024
6306cd1
feat(app): migrate to api-4markdown (#287)
polubis Jul 26, 2024
efaa631
feat(app): change app definitions for api layer (#289)
polubis Jul 26, 2024
e8a950e
feat(app): implement rating and align with some new api contracts (#312)
polubis Aug 2, 2024
3c693b3
ci(app): add typecheck (#314)
polubis Aug 2, 2024
660aa93
refactor(app): add type annotation for type imports and eslint rule (…
polubis Aug 2, 2024
41acb85
refactor(app): change type defs for contracts and remove awaited (#318)
polubis Aug 12, 2024
9eba729
feat(app): add auto scrolling to creator nodes during edition (#320)
polubis Aug 12, 2024
8ca7886
refactor(app): reduce complexity in creator store and make it ssg fri…
polubis Aug 13, 2024
e275651
feat(app): change preview in new window behavior for creator (#326)
polubis Aug 13, 2024
ae9b490
ci(app): add benchmark checks (#329)
polubis Aug 14, 2024
5b6a2d6
ci(app): remove husky and commitlint from local development (#332)
polubis Aug 16, 2024
d3f5215
ci(app): remove not used packages (#333)
polubis Aug 16, 2024
f897fe4
ci(app): bump dev deps and remove not needed gatsby-commands (#334)
polubis Aug 16, 2024
c3da308
ci(app): upgrade possible deps (#335)
polubis Aug 19, 2024
001f15c
ci(app): add dependabot (#343)
polubis Aug 19, 2024
8ca53ab
ci(app): packages update and benchmark report (#346)
polubis Aug 19, 2024
778910d
ci(app): add audit check and update README (#347)
polubis Aug 20, 2024
4eb03a2
ci(app): add outdated check (#349)
polubis Aug 20, 2024
56a14a5
feat(app): add a mdate check for user profile update attempt (#351)
polubis Aug 21, 2024
f2a63bd
refactor(app): migrate document creation (#356)
polubis Aug 22, 2024
b42d443
refactor(app): migrate getDocs to getYourDocuments (#358)
polubis Aug 22, 2024
3321598
ci(app): update non-risky deps (#372)
polubis Aug 30, 2024
4fbf2c7
chore(app): update deps (#378)
polubis Sep 4, 2024
b7c4bb1
chore(app): add index now support with ahrefs (#379)
polubis Sep 4, 2024
0728135
fix(app): problem with profile loading and update when no account (#…
polubis Sep 6, 2024
7737d31
chore(app): update deps (#409)
polubis Sep 30, 2024
62280f9
chore(app): remove dependabot (#410)
polubis Sep 30, 2024
7c7124f
chore(app): update deps (#415)
polubis Oct 2, 2024
10eb9e7
feat(app): change documents voting implementation (#413)
polubis Oct 3, 2024
363c0e6
chore(app): update depds (#419)
polubis Oct 3, 2024
91ca366
feat(app): add some visual and navigation changes in app (#417)
polubis Oct 4, 2024
2c2a588
feat(app): change education zone (#423)
polubis Oct 8, 2024
3b90428
chore(app): update deps (#432)
polubis Oct 11, 2024
0183d70
feat(app): unify error handling (#431)
polubis Oct 11, 2024
a4d013d
fix(app): error handling (#437)
polubis Oct 15, 2024
563f1f9
feat(app): connect to new update document name endpoint (#442)
polubis Oct 17, 2024
6805a83
fix(app): empty tags on education zone (#446)
polubis Oct 18, 2024
853f993
fix(app): invalid sorting on education zone documents (#447)
polubis Oct 18, 2024
bda5173
fix(app): tags sorting on education zone (#448)
polubis Oct 18, 2024
f52a817
chore(app): update deps (#450)
polubis Oct 23, 2024
588a8a5
fix(app): duplicated documents between sections (#449)
polubis Oct 23, 2024
9ede4ee
fix(app): after going back there is blank space on mobile in creator …
polubis Oct 23, 2024
94cf981
fix(app): issues with SEO (#453)
polubis Oct 23, 2024
da75f2c
chore(app): update-deps (#454)
polubis Oct 28, 2024
9604f59
fix(app): Ahrefs og:image issues and orphan document pages (#463)
polubis Oct 30, 2024
23dc043
chore(app): update-deps (#470)
polubis Oct 31, 2024
004a367
feat(app): enhance be errors contract (#471)
polubis Oct 31, 2024
94c2341
chore(app): update deps (#474)
polubis Nov 4, 2024
a29ed4b
feat(app): change document name and paths creation logic (#476)
polubis Nov 8, 2024
799a724
feat(app): change hint in permanent document form with name length (#…
polubis Nov 8, 2024
b2a73d9
chore(app): update deps (#478)
polubis Nov 8, 2024
a3bad64
chore(app): migrate performance check (#480)
polubis Nov 8, 2024
b14498c
feat(app): detach document code changes from visibility and name (#482)
polubis Nov 8, 2024
c092855
fix(app): problem with container height in creator and performance ci…
polubis Nov 9, 2024
7059184
fix(app): update document name trimming issue when editing (#485)
polubis Nov 9, 2024
ce6a7f3
fix(app): issue with pagination technical seo on education zone (#487)
polubis Nov 9, 2024
9850ea4
chore(app): upgrade deps (#495)
polubis Nov 13, 2024
009b5fa
chore(app): update deps (#498)
polubis Nov 19, 2024
ea7c154
fix(app): issue with save document button behavior after updating nam…
polubis Nov 19, 2024
6f729e2
feat(app): add observer to API calls (#506)
polubis Nov 20, 2024
2fc37c1
chore(app): update deps (#507)
polubis Nov 20, 2024
67e5f01
feat(app): implement caching for common requests to avoid costs and r…
polubis Nov 22, 2024
effa941
chore(app): update deps (#514)
polubis Nov 25, 2024
6c2b39c
fix(app): issue with disabled code change button when changing docume…
polubis Nov 25, 2024
97a0f19
fix(app): common bugs, small defects spotted out by users and update …
polubis Nov 27, 2024
6ef23b6
feat(app): make state management perfect PoC and create spec + update…
polubis Nov 29, 2024
279eb4e
feat(app): chapters, navigation improvements, copy/share/scroll-top f…
polubis Dec 2, 2024
a3edd60
feat(app): add trusted authors feature and update descriptions for do…
polubis Dec 2, 2024
9f58e6f
feat(app): improve action for performance check (#522)
polubis Dec 3, 2024
dcd394e
feat(app): see in md feature and new copy icons with messages (#523)
polubis Dec 3, 2024
b22f843
feat(app): add webp images uploading support and update deps (#524)
polubis Dec 4, 2024
24af003
perf(app): improve home page performance, and increase budget of the …
polubis Dec 6, 2024
3286477
chore(app): update low risk deps (#530)
polubis Dec 10, 2024
d132066
refactor(app): simplify creator store (#532)
polubis Dec 11, 2024
a33e672
feat(app): add context to document preview/static page (#535)
polubis Dec 12, 2024
2748101
fix(app): creator layout width problem (#540)
polubis Dec 16, 2024
67c56f4
chore(app): update deps (#542)
polubis Dec 16, 2024
cd998e3
chore(app): update deps (#546)
polubis Jan 3, 2025
d47db2c
refactor(app): modal header, modal disabling and key press hook (#547)
polubis Jan 3, 2025
149598c
fix(app): modal layout, x button optional and new interaction api (#550)
polubis Jan 7, 2025
b6c68cb
feat(app): create cookies policy modal and change how analytics works…
polubis Jan 7, 2025
f2e20bb
fix(app): issue with chapters modal heading space (#552)
polubis Jan 7, 2025
df4997f
feat(app): add support for math syntax (#554)
polubis Jan 9, 2025
6f28e13
fix(app): missing footer (#555)
polubis Jan 10, 2025
9ad39a6
fix(app): issue with math syntax display on ssg documents (#556)
polubis Jan 10, 2025
a2b9e02
chore(app): update ts and markdown to jsx (#558)
polubis Jan 11, 2025
f9ea8b2
feat(app): migrate to react markdown (#559)
polubis Jan 11, 2025
96fd703
fix(app): issue with active document colors (#561)
polubis Jan 11, 2025
924c4a3
feat(app): add new look for documents display (#562)
polubis Jan 13, 2025
8124b0b
feat(app): add toolbox for creator (#563)
polubis Jan 14, 2025
9c0e066
fix(app): headings size for desktop and mobile (#564)
polubis Jan 14, 2025
219951f
fix(app): broken tab behavior
Jan 14, 2025
d544471
fix(app): scrolling behavior and image upload position (#565)
polubis Jan 14, 2025
1cca6c6
refactor(app): one highlight call for code snippets instead of severa…
polubis Jan 14, 2025
cb8e736
feat(app): add sandbox for route testing and improve benchmark check …
polubis Jan 14, 2025
53d3655
refactor(app): remove not needed navigate function wrapper (#573)
polubis Jan 16, 2025
4766e27
ui(app): change borders and application colors with snapshots update …
polubis Jan 16, 2025
5c498a3
rewrite(app): creator layout and sidebar (#575)
polubis Jan 16, 2025
866c948
feat(app): implement useFeature hook and replace useToggle (#577)
polubis Jan 17, 2025
b5df8d9
refactor(app): migrate your user profile store to new convention (#578)
polubis Jan 17, 2025
9e522ba
feat(app): add option to upload image from clipboard (#579)
polubis Jan 17, 2025
4182b59
chore(app): update deps (#580)
polubis Jan 20, 2025
e643955
rewrite(app): update your user profile (#581)
polubis Jan 23, 2025
f9fb611
refactor(app): add greenonsoftware/first-class-hooks library (#585)
polubis Jan 31, 2025
f9eb9e9
chore(app): update deps
polubis Feb 13, 2025
4bae4d6
fix(app): chapters trim, auto-scroll toggle and math syntax on mobile…
polubis Feb 17, 2025
1408c2a
feat(app): mindmaps feature stage 1 (#588)
polubis Mar 13, 2025
b4c6c38
feat(app): add option to display mindmap preview (#589)
polubis Mar 17, 2025
e414e82
chore(app): update deps (#592)
polubis Mar 17, 2025
2c07c88
fix(app): issue chapter code highlight (#593)
polubis Mar 17, 2025
a7732ed
feat(app): add bug reporting feature and prepare contracts for perma …
polubis Mar 19, 2025
ea38472
chore(app): update xyflow and cypress (#595)
polubis Mar 19, 2025
a0ad218
feat(app): connect permanent mindmaps page generation (#598)
polubis Mar 21, 2025
c41c0c6
fix(app): issues with layout, disable states and initial mindmap setu…
polubis Mar 24, 2025
209195e
feat(app): add basic writing assistance in documents creator and fix …
polubis Mar 28, 2025
13322c1
fix(app): e2e tests (#611)
polubis Mar 30, 2025
afae2ab
feat(app): global search (#597)
kacperzielinskidev Mar 31, 2025
3147eca
feat(app): analytics for exception tracking (#609)
kacperzielinskidev Apr 1, 2025
2590f2c
chore(app): update firebase (#613)
polubis Apr 2, 2025
a33962f
chore(app): update react-kit (#614)
polubis Apr 2, 2025
f34e317
chore(app): update xyflow and dev deps (#615)
polubis Apr 2, 2025
b0a9509
chore(app): add webpack bundle analyzer plugin (#616)
polubis Apr 2, 2025
e519d00
feat(app): add rewrite assistant ui (#618)
polubis Apr 3, 2025
a8a90fd
feat(app): add table of content in article page and preview (#607)
kacperzielinskidev Apr 4, 2025
b082e2b
fix(app): reduce security issues from dependabot (#619)
polubis Apr 5, 2025
aa3a0a9
feat(app): connect ai assitant rewrite with api (#620)
polubis Apr 7, 2025
11ffc6e
refactor(app): integrate with vibetest (#621)
polubis Apr 7, 2025
e5a3965
feat(app): rewrite assistant ai and add creation with ai with small b…
polubis Apr 24, 2025
85ce0eb
feat(app): add additional ai usage disclaimers and up low risk depend…
polubis Apr 24, 2025
33b1964
fix(app): bugs before release and update low risk deps (#625)
polubis Apr 30, 2025
33a9550
fix(app): issues with rendering table of contents (#627)
polubis May 1, 2025
f93a94c
feat(app): design system page with button variants
kacperzielinskidev May 1, 2025
8bcf60f
feat(app): e2e button tests
kacperzielinskidev May 1, 2025
7ea6b5f
feat(app): select component
kacperzielinskidev May 1, 2025
98ebd6f
feat(app): select test fixed
kacperzielinskidev May 1, 2025
0f51735
feat(app): fix button variant test
kacperzielinskidev May 1, 2025
bb8214a
fix(app): conflicts
kacperzielinskidev May 1, 2025
ee0e01c
feat(app): select handleKeyDown dependecy array fix
kacperzielinskidev May 1, 2025
2336481
wip
kacperzielinskidev May 4, 2025
1347803
wip
kacperzielinskidev May 4, 2025
8ce3eb8
wip
kacperzielinskidev May 4, 2025
2a39b3d
wip
kacperzielinskidev May 4, 2025
72f426e
wip
kacperzielinskidev May 6, 2025
9084750
wip
kacperzielinskidev May 24, 2025
9e92404
wip
kacperzielinskidev May 24, 2025
d54b0ec
wip
kacperzielinskidev May 24, 2025
8b2bbb3
Merge branch 'develop' into feat(app)--tailwind-upgrade2
kacperzielinskidev May 24, 2025
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,489 changes: 1,489 additions & 0 deletions cursor.md

Large diffs are not rendered by default.

72 changes: 72 additions & 0 deletions cypress/e2e/design-system-page.cy.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
import { BASE_COMMANDS, SELECT_COMMANDS } from '../utils/commands';
import { gherkin } from '../utils/gherkin';

describe(`Design System Components`, () => {
const buttonVariantsContainerId = `button-variants-container`;

const given = gherkin({
...BASE_COMMANDS,
...SELECT_COMMANDS,
'I navigate to design system page': () => {
cy.visit(`/design-system`);
},
'I take screenshot of button variants': () => {
cy.get(`[data-testid="${buttonVariantsContainerId}"]`).scrollIntoView();
BASE_COMMANDS[`System takes element picture`](
`[data-testid="${buttonVariantsContainerId}"]`,
`button-variants-screenshot`,
);
},
'I take screenshot of individual button': (label: string) => {
cy.contains(label).scrollIntoView();
cy.contains(label)
.parent()
.find(`button`)
.should(`be.visible`)
.then(($button) => {
const buttonId = `button-${label.replace(/[^a-zA-Z0-9]/g, `-`).toLowerCase()}`;
cy.wrap($button).invoke(`attr`, `data-test-button-id`, buttonId);
BASE_COMMANDS[`System takes element picture`](
`[data-test-button-id="${buttonId}"]`,
`button-variant-${label.replace(/[^a-zA-Z0-9]/g, `-`).toLowerCase()}`,
);
cy.wrap($button).invoke(`removeAttr`, `data-test-button-id`);
});
},
});

it(`captures screenshots of all button variants`, () => {
given(`System has accepted cookies`)
.and(`I set white theme`)
.when(`I navigate to design system page`)
.then(`I take screenshot of button variants`);

const buttonLabels = [
`s=1, i=1`,
`s=1, i=2`,
`s=2, i=1`,
`s=2, i=2`,
`auto s=1, i=1`,
`auto s=1, i=2`,
`auto s=2, i=1`,
`auto s=2, i=2`,
`pill s=1, i=2`,
`pill s=2, i=2`,
`disabled`,
];

buttonLabels.forEach((label) => {
given(`I take screenshot of individual button`, label);
});
});

it(`verifies select component behavior`, () => {
given(`System has accepted cookies`)
.and(`I set white theme`)
.when(`I navigate to design system page`)
.and(`I select from`, `combobox`, `Banana`)
.then(`I verify select value`, `combobox`, `Banana`)
.when(`I select from`, `combobox`, `Apple`)
.then(`I verify select value`, `combobox`, `Apple`);
});
});
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions cypress/utils/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,5 +249,24 @@ const BASE_COMMANDS = {
},
} as const;

export const SELECT_COMMANDS = {
'I select from': (selectRole: string, optionLabel: string) => {
cy.get(`[role="${selectRole}"]`).first().click();
cy.get(`[role="listbox"]`).contains(optionLabel).click();
},
'I verify select value': (selectRole: string, value: string) => {
cy.get(`[role="${selectRole}"]`).contains(value).should(`be.visible`);
},
'I press key on': (selectRole: string, key: string) => {
cy.get(`[role="${selectRole}"]`).type(key);
},
'I verify select option': (option: string) => {
cy.get(`[role="listbox"]`).contains(option).should(`be.visible`);
},
'I verify disabled select': () => {
cy.get(`[role="combobox"][aria-disabled="true"]`).should(`exist`);
},
} as const;

export type { Element, ClickableControls };
export { BASE_COMMANDS };
1 change: 1 addition & 0 deletions meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@ export const meta = {
},
notFound: `/404/`,
privacyPolicy: `/privacy-policy/`,
designSystem: `/design-system/`,
},
} as const;
Loading
Loading