Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Zoltan Szabo
    @zotya
    without any sentry configuration?
    Giulia Ghisini
    @giuliaghisini
    yes
    Zoltan Szabo
    @zotya
    hmm
    Nicola Zambello
    @nzambello
    it should work without a key because it’s not mandatory to have a sentry integration
    Zoltan Szabo
    @zotya
    correct
    do you overwrite Html.jsx?
    Giulia Ghisini
    @giuliaghisini
    no
    ops
    yess
    you should have these
    it allows to send runtime config values to the frontend, without rebuilding the app
    Giulia Ghisini
    @giuliaghisini
    thank's! it works!
    Zoltan Szabo
    @zotya
    great
    Nicola Zambello
    @nzambello
    thank you @zotya
    Mike Metcalfe
    @mikejmets
    I asked about transifex access on the volto slack channel yesterday but no response so I thought I'd try here. Am I correct in following the International section of the volto dev docs and if so how do I gain access to the transifex project I require when running 'tx init'?
    Asko Soukka
    @datakurre
    Would you know, is it possible to "build" Volto server so that running it would not require node_modules?
    13 replies
    Tiberiu Ichim
    @tiberiuichim
    @datakurre I've tried running Volto without node_modules at one point but I didn't get too far. Would be nice if you could get this to work
    As far as I remember, there's babel stuff that's not bundled , or something like that
    there's also the fact that Volto doesn't have proper devDependencies separation
    Asko Soukka
    @datakurre
    What's the correct way to configure time zones with Plone and Volto to get the right behavior? https://github.com/plone/volto/issues/1923#issuecomment-713392670
    1 reply
    Katja Süss
    @ksuess
    @iflaming Hi Alok, I heard rumors your interested in walking through the training Plone 6, that's great. We write and deploy regularly on https://rohberg.github.io/training-plone/mastering-plone/index.html until available on training.plone.org.
    Your feedback is more than welcome!
    Asko Soukka
    @datakurre
    Should add-ons support localization in some magic way or does it depend on add-ons or is it still missing?
    What is the correct way to customize add-on block -configuration? Is there a public doc / example available? (Could not find yet.)
    Alin Voinea
    @avoinea
    @datakurre The block is registered to the global Volto ~config
    Thus, you can override parts of it within the next add-on or the volto project
    Andrea Cecchi
    @cekk
    Hi, i have some questions about how do you deploy in production Volto: do you use pm2? With a single Volto process or clustered? Any other thing to check? Someone tried to stress a Volto site with “some” concurrent calls?
    Katja Süss
    @ksuess
    Hi, how can I scroll after a history.push()? Or is it maybe better to override the ScrollToTop component?
    the following has no effect:
    useEffect(() => {
    console.log('useEffect [pathname, querystring]', pathname, querystring);
    if (querystring.length > 0) {
    window.scrollTo(0, 300);
    }
    }, [pathname, querystring]);
    Nicola Zambello
    @nzambello
    I think you can use the useHistory hook with a effect as you wrote
    Katja Süss
    @ksuess
    custom icons, custom component, import icon from '~/icons/back.svg', <Icon name ={importedIcon} is fine.
    what about using icons in overridden component like Header? the ~does not seem to resolve to my app package.
    import searchSVG from '~/icons/search.svg';
    should this read @package/ or ?
    Tiberiu Ichim
    @tiberiuichim
    @ksuess import searchSVG from '~/icons/search.svg'; should work fine as long as icons is a folder in src
    Make sure that you use "icons" as folder name for the icons folder, the webpack svg loader looks for that name, so you'll have issues with the imported resource otherwise (I've had a colleague hit this problem two days ago)
    Katja Süss
    @ksuess
    Folder name is in root and named 'icons'. <Icon name ={importedIcon} is ok in custom component, but not in /customizations. Will look in to it next days.
    Katja Süss
    @ksuess
    ages later...
    import Icon component from Volto, not Semantic-UI
    import { Icon } from '@plone/volto/components';
    Katja Süss
    @ksuess
    Hi! For bookmarking I need to enrich the toolbar with an 'add bookmark' and a 'show bookmark' action. Adding a button with
    <Portal
    node={CLIENT && document.querySelector('#toolbar .toolbar-bottom')}
    is easy. But I am struggling how to add a button for opening a menu with bookmarks.
    Current situation is, that the toolbar component holds the menues in its state not via app store.
    So, difficult to attack the state of the component..
    Tiberiu Ichim
    @tiberiuichim
    Hi @ksuess For what is worth, I'm working right now on refactoring the toolbar and make everything pluggable. I hope to have the PR ready tonight, but this week seems like the most plausible time to get that thing landed in some form in Volto
    Katja Süss
    @ksuess
    @tiberiuichim, three hero points from me for that! ;-)
    Tiberiu Ichim
    @tiberiuichim
    @ksuess The PR is ready, give it a look plone/volto#2177 (and a review)
    Katja Süss
    @ksuess
    @tiberiuichim, thanks for the ping.
    I'm aware of your work on this and appreciate. About to at least leave a comment.
    Katja Süss
    @ksuess
    Best practice question: The /contents view does not show the correct bookmarks (component ContentsBookmarks) because I eliminated the Bookmarks component which updates the store with bookmarks data according the path. So what's the best practice: Leave the Bookmarks component and hide via CSS does not feel good.
    Tiberiu Ichim
    @tiberiuichim
    I'd leave the Bookmarks component but "return null" in its render if there's no bookmark data
    Katja Süss
    @ksuess
    that seems to be better, yes. i started with
    const Breadcrumbs = () => null;
    export default Breadcrumbs;
    but it's necessary to leave the lifecycle methods intact to update the store with the breadcrumbs data for /contents