Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
430b86f
chore: Migrate package to use vite for building and use Vue for UI
susnux Oct 11, 2023
5b9f53a
fix: Allow directly navigating to a the filtered app view
susnux Oct 30, 2023
c18aa03
fix: Make the app navigation a second named router-view
susnux Oct 30, 2023
1c2e6ef
fix!: Make the setting for RSS feed to take a real boolean as value
susnux Oct 30, 2023
ad2e221
feat: Implement ActivityFeed view
susnux Nov 5, 2023
a92520c
feat(Activity): Allow to show previews in Activity component
susnux Nov 5, 2023
88787e2
fix: Load and show previews in the Activity app view
susnux Nov 5, 2023
c91d5ea
fix: Adjust icons to Nextcloud default size of 20x20 px
susnux Nov 8, 2023
7472efe
feat: Show loading indicator on activity feed
susnux Nov 8, 2023
29000ec
fix!: Drop legacy scripts
susnux Nov 8, 2023
3e2d69e
chore: Do not introduce too many new stuff, revert css modules to sco…
susnux Nov 8, 2023
a0d917e
fix: Adjusted loading indicator to look like in previous UI version
susnux Nov 8, 2023
2723ddc
fix(Actvitiy): When wraping text keep content within container and do…
susnux Nov 8, 2023
f612016
fix: On Nextcloud GmbH the copyright should be set to author instead …
susnux Nov 8, 2023
58ae402
fix: Allow empty filter and fallback to `all`
susnux Nov 8, 2023
fd0b1bc
fix: Adjust UI for some review comments
susnux Nov 8, 2023
219ec1f
fix(tests): Adjust unit tests
susnux Nov 8, 2023
158bb17
chore(deps): Update to stable nextcloud/vue and nextcloud/dialogs
susnux Nov 8, 2023
b15a83a
fix(tests): Adjust node tests to use vitest
susnux Nov 8, 2023
80d57db
chore: Compile assets
susnux Nov 8, 2023
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
Prev Previous commit
Next Next commit
fix: Allow empty filter and fallback to all
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Nov 8, 2023
commit 58ae4029d6aba86ae63b8f66b846c2554ebde7e9
2 changes: 1 addition & 1 deletion src/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const routes = [
redirect: { path: '/all' },
},
{
path: '/:filter',
path: '/:filter?',
components: {
default: ActivityAppFeed,
navigation: ActivityAppNavigation,
Expand Down
7 changes: 5 additions & 2 deletions src/views/ActivityAppFeed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,15 @@ import { generateOcsUrl } from '@nextcloud/router'
import { useInfiniteScroll } from '@vueuse/core'
import { computed, onMounted, ref, watch } from 'vue'

const props = defineProps<{
const props = withDefaults(defineProps<{
/**
* The currently active activities filter
*/
filter: string
}>()
}>(), {
// default to 'all'
filter: 'all',
})

/**
* Whether activities are currently being loaded
Expand Down