Skip to content

Upgrade to ActivityPods 2.2.0 - #53

Draft
srosset81 wants to merge 27 commits into
masterfrom
next
Draft

srosset81 wants to merge 27 commits into
masterfrom
next

Conversation

@srosset81

@srosset81 srosset81 commented Mar 24, 2025

Copy link
Copy Markdown
Contributor

SlyRock and others added 8 commits January 22, 2025 14:07
Likes and replies crude display on buttons with cache/state issues to be fixed
https://pad.lescommuns.org/xQpHj6XMQYWzyDFwRSfKrw
Likes and replies crude display on buttons with cache/state issues to be fixed
https://pad.lescommuns.org/xQpHj6XMQYWzyDFwRSfKrw
- Update BoostButton to show different icon when boosted
- Added a comment regarding the inability to delete shares from the outbox at the current time.
- Prepared code for potential future implementation of share deletion functionality.
@srosset81 srosset81 changed the title Upgrade to ActivityPods 2.1.1 Upgrade to ActivityPods 2.2.0 Mar 26, 2025
SlyRock and others added 19 commits March 31, 2025 16:21
…with-shacl

filter Inbox/outbox activities with shacl
Add Video support to ActivityBlock and update data models

- Introduced a new Video component to handle video objects in the ActivityBlock.
- Updated Create component to render Video based on the object type.
- Added Video shapeTreeUri to dataModels for proper integration with the backend.
- Enhanced the app.service.js to include access modes for Video shape tree.
- Integrated HLS.js to handle HLS video streams in the Video component.
- Updated video source selection logic to prioritize HLS streams when available.
- Enhanced error handling for HLS playback to ensure fallback to direct video sources.
- Added necessary imports and state management for video playback.
- Introduced a new Article component to handle article objects in the ActivityBlock.
- Updated Create component to render Article based on the object type.
- Added Article shapeTreeUri to dataModels for proper integration with the backend.
- Enhanced app.service.js to include access modes for Article shape tree.
- Improved username formatting in utils.js to handle trailing slashes in URIs.
- Refactored useActor hook to fetch webId using dataProvider for better data handling.
- Added state management for modal display to show full article content.
- Implemented content preview feature to display the first 250 characters of the article.
- Integrated cover image and title display within the modal.
- Improved content rendering by stripping HTML for better text presentation.
- Updated UI to include a "Read more..." link that triggers the modal.
- Enhanced the display of cover images and titles with a new layout that includes a background overlay for better visibility.
- Updated modal styling for a more responsive design, including adjustments to dimensions and positioning of elements.
- Improved typography and spacing for article content to enhance readability.
- Consolidated conditional rendering for cover images and titles to streamline the component structure.
- Updated username formatting in utils.js to remove leading '@' characters and ensure proper handling of trailing slashes in URIs.
- Refactored useWebfinger hook to improve error handling and support multiple content types when fetching actor's URI from the webfinger endpoint.
- Introduced a new Event component to handle event objects in the ActivityBlock.
- Updated Create component to render Event based on the object type.
- Added Event shapeTreeUri to dataModels for proper integration with the backend.
- Enhanced app.service.js to include access modes for Event shape tree.
- Replaced static component imports in Announce and Create components with a utility function to dynamically select the appropriate component based on the object type.
- Simplified rendering logic for different object types, enhancing maintainability and scalability.
Creation of useContentProcessing and useActivityCollections hooks.
Creation of a BaseActivityBLock component
- Enhanced Article, Note, Event, and Video components to utilize a consistent structure for rendering content and media.
- Implemented expand/collapse functionality for content previews in Article, Note, and Video components.
- Updated BaseActivityBlock to streamline rendering of common elements across activity types.
- Improved content processing logic to handle dynamic content and images more effectively.
- Added localization support and refined UI elements for better user experience.
…lity and improved layout

- Refactored Article component to include a modal for displaying full article content with a cover image and title.
- Updated BaseActivityBlock to streamline author information display and improve layout consistency.
- Implemented expand/collapse functionality for content previews in Article and Event components.
- Enhanced localization support and refined UI elements for better user experience.
…bility

- Updated Announce component to clarify boosted object handling, ensuring correct activity representation.
- Refactored Article component to streamline actor URI extraction using mapping for better clarity.
- Removed unused imports in BaseActivityBlock and added localization for event details in Event component.
- Updated message files for English and French to include new event details translations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants