Commit Graph

16 Commits

Author SHA1 Message Date
mikezimm 6c7ce5883a
Update GetAnchorUrl in SPService.ts
Solve issue:  
https://github.com/pnp/sp-dev-fx-webparts/issues/3686

fix GetAnchorUrl so it creates correct anchorlink that has a + symbol in the heading.
2023-05-13 01:15:48 -04:00
Nils Andresen 2ba71ab6a8 (#3425) fixed nesting of Headers 2023-01-20 14:25:42 +00:00
Nils Andresen 6e369a7260
(#3299) fixed nesting of Headers
The NavLinkBuilder was modifying arrays in place,
as well as returning the modifications. While this was probably not
the cause of the error, I fixed this by not returning the modifications
anymore.

I changed the algorithm from counting the depth up, to counting the
order down to 0. Thus, I could remove the depth entirely.
2022-12-22 16:44:21 +01:00
Nils Andresen 3593de26ac
Added some unit tests for navLinkBuilder
Because I could not make jest work with any
references to SPFx, I separated the navLinkBuilder
into its own component.
Also, I set collectCoverage to false, as coverage collection is
currently broken and I see no easy way to fix this.

Two tests are ignored, since they describe the issue and are currently
failing.
2022-12-22 16:25:25 +01:00
Nils Andresen 6332549e1f (#3029) Modify the way "empty" headings are detected 2022-09-16 11:27:37 +00:00
Jasey Waegebaert 118e99a111 Add theme provider and bug fixes 2022-08-17 14:15:33 +02:00
Hugo Bernier 58a1137468
Merge branch 'main' into collapsibleHeadingsIssue 2022-07-27 20:49:02 -07:00
Jasey Waegebaert f0cf95dc3e Solve collapsible sections without a name 2022-07-19 20:57:02 +02:00
Jasey Waegebaert 9679ba3772 Solve collapsible heading issues 2022-07-19 20:44:34 +02:00
Jasey Waegebaert 382150261d Solve multiple spaces and max chars 2022-07-02 09:35:50 +02:00
Jasey Waegebaert 0e09e2a0b8 Capability to find collapsible section headers 2022-06-29 22:02:36 +02:00
Hugo Bernier 599356651c Processing #2699 2022-06-04 12:25:45 -04:00
Aakash Bhardwaj abb9e5a720 react-page-nav SPFx upgrade and code refactoring 2021-10-20 10:40:41 +05:30
Nanddeep Nachan 9827636b35 Fixed HTML formatting bug 2020-08-13 09:47:50 +00:00
Aakash Bhardwaj 4209ddcd0b Updated react-page-navigator links sort order (#1019) 2019-10-07 11:21:06 +03:00
aakashbhardwaj619 ba2dd39368 React Page Navigator webpart to display page header tags in Nav component 2019-09-05 23:19:19 +05:30