48 Commits

Author SHA1 Message Date
Emily Xiong
6ebf676b5e
fix(graph): fix search params reload when back to graph (#26580)
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->
- change useIntervalWhen
- when this function is used, it is mostly calling a fetch request,
change it to take an async function
- wait for the current fetch request to finish before firing the next
one
  - change the name to usePoll
- currently, when going back to graph, it needs to remove the search
params expand and sometimes need to add ?project= search params
- delete expand search params is called after adding the project search
params
  
```

 setSearchParams(
        (currentSearchParams) => {
          currentSearchParams.delete('expanded');
          return currentSearchParams;
        },
        { replace: true, preventScrollReset: true }
      );

```


this function does not contain the ?project= search param key, caused
the graph page to reload twice
- change the function useRouteConstructor to delete the search params
`expanded` there


## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->


## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #
2024-06-25 10:05:05 -04:00
Nicholas Cunningham
b9b89b2575
feat(nx-dev): Use app router for blogs (#23127)
The PR activates the app router for the Blog page at /blog. 

Its purpose is to test Next.js changes within nx-dev, allowing us to
identify and address any issues that users might encounter.
Integrating these changes into our environment, we can gain firsthand
experience and insights into potential problems, ensuring that the
updates are robust and reliable.

This approach helps us improve the overall quality and user experience
of our platform by proactively identifying and resolving any issues that
could affect consumers.
2024-06-11 09:28:29 -04:00
Jack Hsu
bc43243498
chore(repo): add eslint and jest plugins to use inferred targets (#22946) 2024-04-23 21:52:13 -04:00
MaxKless
65ba819019
fix(graph): don't show open config button on nx.dev & refactor tooltips (#21463) 2024-02-01 16:47:26 +00:00
Colum Ferry
b97037ebd1
feat(graph): show open config button in graph web (#21181)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2024-01-19 14:05:09 -05:00
MaxKless
b97c869279
feat(graph): add nx console data loader (#20744) 2024-01-11 15:42:57 -05:00
MaxKless
c727a22530
feat(graph): display expanded task inputs (#19597) 2023-10-16 16:01:34 -04:00
MaxKless
d5ceca9499
feat(graph): add more graph to editor communication (#18315) 2023-08-02 11:39:53 +02:00
Katerina Skroumpelou
67bd9d7b62
chore(graph): update the syntax of the stories (#18188) 2023-08-01 10:11:07 +03:00
MaxKless
f8068b7cf6
feat(graph): add clickable project edge file links in nx console (#18113) 2023-07-25 11:10:25 +02:00
Jason Jean
cbb2ca2819
chore(repo): update nx to 16.5.0-beta.0 (#17826) 2023-06-28 11:48:02 -04:00
Victor Savkin
8a0dcafe2b chore(repo): update to 16.3.0-beta.0 2023-05-19 16:39:54 -04:00
Victor Savkin
0848031dd9 feat(core): move task hashing into daemon 2023-05-17 11:37:57 -04:00
Miroslav Jonaš
846320a6b9
chore(repo): enable enforce-module-boundaries on nx repo (#16864) 2023-05-10 11:35:33 -04:00
Katerina Skroumpelou
83ed247b1f
fix(storybook): ignore nx storybook plugin from sb eslint (#16725) 2023-05-04 12:58:41 +02:00
Jason Jean
8fa1712ab4
chore(repo): rescope nx-dev and graph libraries (#16551) 2023-04-26 16:47:47 -04:00
Katerina Skroumpelou
9bb5d0d7db
feat(repo): update storybook to v7 (#16174) (#16289) 2023-04-24 10:11:41 -04:00
Jason Jean
88b9687451
fix(linter): fix legacy linter migrations (#16462) 2023-04-21 13:29:09 -04:00
Jason Jean
ff8074bf75
chore(repo): update to nx 16.0.0-beta.5 (#16347) 2023-04-21 10:17:56 -04:00
Jason Jean
2d195007b0
feat(core): switch packages to use the @nx scope (#16069) 2023-04-14 19:56:37 -04:00
Jason Jean
d2f855502a
Revert "feat(repo): update storybook to v7 (#16174)" (#16264) 2023-04-12 11:46:56 -04:00
Katerina Skroumpelou
c4d9a5bd5c
feat(repo): update storybook to v7 (#16174) 2023-04-12 09:16:00 +01:00
Philip Fulcher
74fed92729
fix(graph): fix display of task graph in docs (#15913) 2023-03-27 18:06:46 -04:00
Jason Jean
2cc949e2f1
feat(core): show task graph of commands (#15440)
Co-authored-by: Philip Fulcher <philip@nrwl.io>
2023-03-21 18:08:31 -04:00
Katerina Skroumpelou
95c832ae91
chore(misc): remove import of nonexistent file on graph storybook (#15383) 2023-03-03 11:50:07 -05:00
Philip Fulcher
19edd02967
feat(graph): enable task graph error tooltips (#15076) 2023-02-21 22:02:07 +00:00
Miroslav Jonaš
8d4855de61
feat(core): add full dependency information to project graph file dependencies (#14893) 2023-02-21 10:39:44 -05:00
Katerina Skroumpelou
1b64e17d4e
fix(storybook): v7 vite settings docs remove rootMain (#14992) 2023-02-15 13:10:28 +02:00
Jason Jean
c8be5c1ec2
chore(repo): update nx to 15.5.0-beta.0 (#14322) 2023-01-12 19:02:34 -05:00
Craigory Coppola
7992ec618f
chore(repo): setup negative config for several targets (#14080) 2023-01-04 11:34:50 -05:00
Philip Fulcher
fed3f9083c
chore(graph): remove console logs (#13884)
Co-authored-by: Philip Fulcher <philipfulcher@Philips-MacBook-Air.local>
2022-12-19 09:36:28 -05:00
Philip Fulcher
78f3a3cf16
chore(graph): remove global styles in favor of tailwind (#13882)
Co-authored-by: Philip Fulcher <philipfulcher@Philips-MacBook-Air.local>
2022-12-16 23:32:29 +00:00
Philip Fulcher
578ecb6785
feat(graph): add tooltips to docs graph (#13832) 2022-12-15 18:54:34 -07:00
Victor Savkin
34d861d234 fix(testing): preserve the old coverage layout 2022-12-11 14:47:16 -05:00
Victor Savkin
40b39b2e64 fix(core): remove leading ./ when normalizing root project outputs 2022-12-10 15:53:25 -05:00
Isaac Mann
e470b6e259
docs(graph): add task graph widget (#13698) 2022-12-08 11:07:16 -05:00
Philip Fulcher
e6ee0a4a88
chore(graph): replace Tippy with FloatingUI (#13593)
Co-authored-by: Philip Fulcher <philip@Philips-MacBook-Pro.local>
2022-12-05 17:15:08 +00:00
Philip Fulcher
f1f7ccc25e
chore(graph): remove route listener and setter machines (#13524) 2022-12-01 00:18:31 +00:00
Philip Fulcher
17514d2366
feat(graph): enable task graph (#13343) 2022-11-23 09:53:55 -05:00
Philip Fulcher
2d758af7c7
fix(graph): project edge tooltips should appear (#13344) 2022-11-23 09:41:22 -05:00
Philip Fulcher
0d9f228aa1
chore(graph): refactor task selection workflow (#13302) 2022-11-22 15:23:47 -07:00
Philip Fulcher
ec85e1b5ad
chore(graph): add task graph tooltips (#13262) 2022-11-18 11:23:37 -07:00
Philip Fulcher
e42da40438
chore(graph): add group by project option to task graph (#13239) 2022-11-17 15:09:36 -07:00
Philip Fulcher
074a7f9f37
chore(graph): selected task is persisted in url (#13189) 2022-11-15 15:29:18 -07:00
Philip Fulcher
c18ec6ccd6
chore(graph): add tasks to graph (#13133) 2022-11-11 12:52:19 -07:00
Philip Fulcher
2be9a01272
chore(graph): consume task graph data in client (#13092) 2022-11-09 16:58:28 -07:00
Philip Fulcher
305f69477d
fix(graph): improve performance of showing/hiding directories of projects (#12998) 2022-11-04 15:36:48 +00:00
Philip Fulcher
b23d8e911b
chore(docs): add docs graph component (#12929) 2022-11-02 15:23:08 +00:00