Skip to content

[pull] main from TanStack:main#1

Open
pull[bot] wants to merge 599 commits intoswaitw:mainfrom
TanStack:main
Open

[pull] main from TanStack:main#1
pull[bot] wants to merge 599 commits intoswaitw:mainfrom
TanStack:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Jul 8, 2022

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

KevinVandy and others added 28 commits January 15, 2024 15:55
* Import types from svelte-table

* Enable verbatimModuleSyntax
* Fix svelte example tsconfigs

* Update react example tsconfigs

* Remove duplicate verbatimModuleSyntax option

* Update for vue examples

* Fix tsconfig for solid examples
* fix tsconfig examples for react editable-data, expanding and filter

* fix tsconfig example for solid column-ordering
* ci(examples): Test examples on CI

* Remove test from example

* Update svelte examples

* Fix missing svelte types
* chore: updated deprecated prop

* chore: add type
…ning (#5344)

* improved memo method to accept depArgs
getMemoOptions method to reduce memo boilerplate
new ColumnSizing getAfter API (similar to getStart)
added memoization to column.getStart method
new Ordering column.getIndex API
new Ordering column.getIsFirstColumn API
new Ordering column.getIsLastColumn API
improved table._getPinnedRows memo performance

* update column pinning example and docs

* update lock file

* even better column sizing performance

* smaller code
Fixed wrong link to column-pinning-sticky example. The original link would load the page but the example was not working.
* Add knip and sherif

* Update Nx command
…le (#5361)

* docs: more idiomatic solid and eslint cleanup for solid filters example

* prettier

---------

Co-authored-by: Kevin Vandy <kevinvandy656@gmail.com>
KevinVandy and others added 28 commits February 3, 2025 19:49
* fix: spread table options in lit adapter

* dummy commit

---------

Co-authored-by: Mor Kadosh <mkadosh@paloaltonetworks.com>
Accessor function accepts row object so to access age we should access it from row.
The `filterValue` for this function is not an array. Therefore, we should not check for its length.
* docs: Add vue grouping example

* docs: add link to navigate grouping example

* chore: update pnpm-lock.json

* chore: remove unused CSS file

* ci: apply automated fixes

* fix: resolve TypeScript type error for expanded state

* ci: apply automated fixes

* fix: resolve TypeScript type error for expanded state

* ref: remove the custom toggle row expansion function

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Would obsolete #5965, #5918 if merged.

I listed the broken links on my end like this:

    # utilizing lychee
    # lychee doesn't support checking links recursively from a web page;
    # but we do have a kind of sitemap here that we can pass to it.
    cd tanstack-table/docs/
    lychee $(find . -name '*.md' | sed 's~./~https://tanstack.com/table/latest/docs/~;s/.md//')
    # for the local build; might also want `--timeout 60`
    lychee $(find . -name '*.md' | sed 's~./~http://localhost:3000/table/latest/docs/~;s/.md//')
    # sed's separator in 's/from/to/' can be changed to avoid escaping,
    # so 's~from~to~' has the same effect except slashes can stay as-is.
    # then s/.md// gets rid of the extension, completing the conversion
    # to deployed URLs.
    # (I'm explaining all this because I'm also scared by the xz takeover.)

There is some magic with relative links: "../" seems to navigate to
"../../" instead (???), while ./ is the current path. As a result every
replacement here is manually done and tested with lychee. Exceptional
cases are explained in the details section below.

When checking the result afterwards, there may be one broken link left
if locally only the /tanstack/tanstack.com and /tanstack/table
repositories are checked out:
from localhost:3000/table/latest/docs/guide/virtualization,
linking to localhost:3000/virtual/v3/docs/api/virtualizer.
This is an artifact of the way it's checked out.

Detailed changes:

docs/api/core/{cell,column,header-group,header,row,table}:
  link to /docs/guide/features currently link to /guide/features
  instead, and causes a redirect loop.
  This error is deployed right now: check eg.
  https://tanstack.com/table/latest/docs/api/core/cell
  and click the "table features" link.
  (This is not exceptional, just the first case I tackled.)

docs/guide/headers:
  Aside from fixing paths, also fix an incorrect reference to
  non-existant Column Resizing Guide at docs/guide/column-resizing;
  presumably this is misspelling for the Column Sizing Guide at
  docs/guide/column-sizing.

docs/guide/row-selection:
  Beyond fixing paths, also fix a missing /example/ in the vue example
  path.
…umn-sizing feature) (#5989)

* fix(table-core): safely access to right document instance in ColumnSizing feature

* fix typings

* knip
commit b7329a4
Author: Tanner Linsley <tannerlinsley@gmail.com>
Date:   Fri May 23 13:38:26 2025 -0600

    docs: fix relative links
* readme updates

* update readme

* fix links and add alt

* fix some nitpicks

* update readme

* fix photo
* readme updates

* update readme

* fix links and add alt

* fix some nitpicks

* update readme

* fix photo

* responsiveness for light and dark mode colours

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* chore: fix merge conflict

Looks like there was a bad merge conflict in 5f3fca4

* Fix tsconfig

* ci: apply automated fixes

* Fix node version

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* ci: introduce changesets

* Fix indent

* Fix knip
* ci: sync config between projects

* Fix sherif
* docs: correct local relative links

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* ci: prepare for trusted publishing

* Update urls
Solve a rendering issue with flexRenderDirective that doesn't re-render component while using conditional `flexRenderComponent` in the same cell column configuration (same cell reference in template, so it's a case where you are not updating table state but relies on external data outside of table scope)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.