Grigorii K. Shartsev
490c4a110c
Merge pull request #3891 from nextcloud/fix/3461/sidebar-tabs-provide-inject
...
Fix dynamic tabs registration and a11y in NcAppSidebarTabs with provide/inject
2023-03-28 18:40:31 +05:00
Grigorii Shartsev
32beb5d72f
fix(NcAppSIdebarTabs): fix dynamic tabs registration
...
fix : #3461
Signed-off-by: Grigorii Shartsev <grigorii.shartsev@nextcloud.com>
Co-authored-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2023-03-28 15:26:41 +02:00
Joas Schilling
9c6ea0e0b9
fix(NcRichText): Match IP addresses as links
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-28 12:45:15 +02:00
Ferdinand Thiessen
6885fd770d
fix: Render actions When using the composition API
...
The setup function of the composition API does not pass components by name but by instance to the vue render function `h`.
This results in `componentOptions.tag` being undefined, so for this case we need to check the `Ctor` instead.
Added an unit test to ensure this issue is fixed and we do not reintroduce this later as a regression.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-03-15 22:06:37 +01:00
Raimund Schlüßler
e5e3a5e2ca
Add NcRichText.spec.js test file
...
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2023-03-01 17:26:41 +01:00
dependabot[bot]
d92a93a748
Bump cypress from 9.7.0 to 12.3.0
...
Bumps [cypress](https://github.com/cypress-io/cypress ) from 9.7.0 to 12.3.0.
- [Release notes](https://github.com/cypress-io/cypress/releases )
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/cypress-io/cypress/compare/v9.7.0...v12.3.0 )
---
updated-dependencies:
- dependency-name: cypress
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-06 14:39:17 +01:00
Christopher Ng
3fe3aeaabd
Define PRODUCTION global variable
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-04 10:58:36 -08:00
Christopher Ng
ebc3f7cda9
Design updates to related resources panel
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-13 18:43:21 -07:00
John Molakvoæ
47d4844cb3
Use github source css for styleguide
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-08-31 19:19:11 +02:00
Raimund Schlüßler
537840dd17
Fix invalid end tag in NcActions test
...
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2022-08-30 23:18:46 +02:00
Raimund Schlüßler
8705a051b0
Add Nc prefix to all components
...
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2022-08-18 14:10:35 +02:00
John Molakvoæ
4e6661100a
forceMenu override inline
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-08-18 11:50:15 +02:00
John Molakvoæ
40e15b0ef6
Adjust Actions tests
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-08-18 11:42:06 +02:00
Robin Windey
a09700336c
Add docs and tests for #2973
...
Signed-off-by: R0Wi <ro.windey@gmail.com>
2022-08-12 07:25:01 +02:00
Raimund Schlüßler
cdd39ce033
Add tests for Actions component
...
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2022-08-08 18:23:16 +02:00
Raimund Schlüßler
1bdb477e77
Bump cypress from 6.8.0 to 9.5.3
...
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2022-04-07 12:00:05 +02:00
Raimund Schlüßler
3a0ceafd96
Migrate to @fontsource/roboto
...
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2022-04-05 17:52:08 +02:00
Raimund Schlüßler
db2a7ebe6e
Only find first occurence of overlapping ranges
...
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2021-09-10 10:43:57 +02:00
Raimund Schlüßler
c2763937f3
Better validate ranges in Highlight directive
...
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2021-09-10 10:43:56 +02:00
Raimund Schlüßler
629162d985
Add regenerator-runtime to fix jest configuration
...
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2021-06-14 22:53:10 +02:00
John Molakvoæ (skjnldsv)
f5de77e0b2
Fix jest
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-04-02 10:39:01 +02:00
Simon Belbeoch
50e46cdb61
add missing user event tests for appSideBarTabs
...
Signed-off-by: Simon Belbeoch <sbelbeoch@octo.com>
Signed-off-by: Simon Belbeoch <simon.belbeoch@octo.com>
2020-11-18 20:28:10 +01:00
Simon Belbeoch
f983d3852e
add tests for select tab
...
Signed-off-by: Simon Belbeoch <sbelbeoch@octo.com>
Signed-off-by: Simon Belbeoch <simon.belbeoch@octo.com>
2020-11-18 20:28:10 +01:00
Simon Belbeoch
a9e522a3cb
remove useless stub
...
Remove the duplicate stub make the test more resilient
Signed-off-by: Simon Belbeoch <sbelbeoch@octo.com>
Signed-off-by: Simon Belbeoch <simon.belbeoch@octo.com>
2020-11-18 20:28:10 +01:00
Simon Belbeoch
a3d0ee2e30
fix debug warning in console during test
...
Changed way to stub console in test
Signed-off-by: Simon Belbeoch <sbelbeoch@octo.com>
Signed-off-by: Simon Belbeoch <simon.belbeoch@octo.com>
2020-11-18 20:28:10 +01:00
John Molakvoæ (skjnldsv)
d6faa33e98
Bump cypress config and split into two specs
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-11-05 16:44:57 +01:00
dependabot[bot]
9ca7c410a4
Bump css-loader from 3.6.0 to 5.0.0
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 3.6.0 to 5.0.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases )
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.6.0...v5.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-05 16:08:14 +01:00
GretaD
48dc0e040c
Add default font and line size
...
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-11-05 16:00:55 +01:00
Julius Härtl
cb71924edb
Move to tests directory
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-14 18:22:40 +02:00
Raimund Schlüßler
1b7957b142
Cover more cases in AppSidebare visual test
...
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2020-08-28 07:42:40 +02:00
Raimund Schlüßler
27c0c29302
Add visual regression testing with cypress
...
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2020-08-27 16:46:15 +02:00
Raimund Schlüßler
ac3a544d45
Test for correct console debug output
...
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2020-08-20 21:10:01 +02:00
John Molakvoæ (skjnldsv)
0e761346ac
Fix tabs & lint
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-20 16:07:16 +02:00
Raimund Schlüßler
25f3424749
Merge pull request #1281 from nextcloud/feature/1090/empty-sidebar
...
Allow empty sidebar, correctly check mixed content
2020-08-13 18:14:04 +02:00
Raimund Schlüßler
124543828c
Allow empty sidebar, correctly check mixed content
...
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2020-08-12 23:22:54 +02:00
Azul
5145012d89
fix: toggle-navigation, open: false
...
Make sure this keeps the nav closed
if it already was closed.
Signed-off-by: Azul <azul@riseup.net>
2020-08-12 19:08:50 +02:00
Julius Härtl
8a5b828288
Fake OC.isUserAdmin global in tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-06-08 20:04:30 +02:00
Raimund Schlüßler
7a2881467d
Fix No OC found test warnings
...
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2020-05-10 22:44:00 +02:00
John Molakvoæ (skjnldsv)
fb6f5a1155
Stop using aliases
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-03-25 09:09:35 +01:00
Christoph Wurst
bd268e3d0e
Add gettext-based translations
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-21 11:20:00 +01:00
Raimund Schlüßler
d590945598
Add jest test for Multiselect component
...
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2020-02-02 21:31:48 +01:00