Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ core
node_modules
results
yarn.lock
/public
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,7 @@ storybook-build: ## Build Storybook
## Acceptance
.PHONY: acceptance-frontend-dev-start
acceptance-frontend-dev-start: ## Start acceptance frontend in development mode
# RAZZLE_API_PATH=http://127.0.0.1:55001/plone pnpm start
RAZZLE_API_PATH=http://127.0.0.1:55001/plone NODE_OPTIONS=--dns-result-order=ipv4first pnpm start
# RAZZLE_DEV_PROXY_API_PATH=http://127.0.0.1:55001/plone NODE_OPTIONS=--dns-result-order=ipv4first pnpm start

.PHONY: acceptance-frontend-prod-start
acceptance-frontend-prod-start: ## Start acceptance frontend in production mode
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
Add and manage bookmarks of pages and searchkit queries.

Bookmarks are grouped by the value of a selectable content type field.


<img align="right" alt="volto-bookmarks" src="./packages/volto-bookmarks/src/readmeillustration/bookmarks_somewhereelse.png" />
<img align="right" width="50" alt="volto-bookmarks" src="./public/bookmarks_somewhereelse.png" />

## Getting started

Expand Down
2 changes: 1 addition & 1 deletion cypress/tests/list_item_bookmark.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ context('Bookmark Acceptance Tests', () => {
cy.addNewBlock('listing');

// select variation
cy.get('#field-variation').click().type('intranet1{enter}');
cy.get('#field-variation').click().type('summary_with_bookmarks{enter}');

// Add Type criteria filter to force a call of getQueryStringResults
cy.get('.querystring-widget .fields').contains('Add criteria').click();
Expand Down
6 changes: 3 additions & 3 deletions packages/policy/src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Bookmarking from '@plone-collective/volto-bookmarks/components/Bookmarking';
import ListingVariationTemplateWithBookmarks from '@plone-collective/volto-bookmarks/components/ListingVariationTemplateWithBookmarks';
import ListingVariationTemplateWithBookmarks from './components/ListingVariationTemplateWithBookmarks';

const applyConfig = (config) => {
config.settings.appExtras = [
Expand Down Expand Up @@ -29,8 +29,8 @@ const applyConfig = (config) => {

// Variation with one bookmark button per listing item
config.blocks.blocksConfig.listing.variations.push({
id: 'intranet1',
title: 'Intranet 1',
id: 'summary_with_bookmarks',
title: 'Listing with bookmarks toggler',
template: ListingVariationTemplateWithBookmarks,
});

Expand Down
1 change: 1 addition & 0 deletions packages/volto-bookmarks/news/15.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clean up. Moving listing template with bookmarks to policy/testing package. @ksuess
Empty file added public/.gitkeep
Empty file.
Binary file added public/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon.ico
Binary file not shown.
13 changes: 13 additions & 0 deletions public/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions public/index.html.spa
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="theme-color" content="#000000" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
</head>

<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div role="navigation" aria-label="Toolbar" id="toolbar"></div>
<div id="main"></div>
<div id="sidebar" />
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>

</html>
19 changes: 19 additions & 0 deletions public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}