Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Tiberiu Ichim
    @tiberiuichim
    Tiberiu Ichim
    @tiberiuichim
    If you're having a party tonight, make sure to listen to the proper music: https://www.youtube.com/watch?v=C_D_Ds6pWTg
    Jens W. Klein
    @jensens
    .oO( I like Volto more than Plone - for parties )
    Giulia Ghisini
    @giuliaghisini

    @here! TypeError: Cannot read property 'RAZZLE_SENTRY_DSN' of undefined
    initSentry
    node_modules/@plone/volto/src/sentry.js:35
    32 | }
    33 |
    34 | if (CLIENT) {

    35 | if (window.env.RAZZLE_SENTRY_DSN) {
    | ^
    36 | if (!sentry_config) {
    37 | sentry_config = {};
    38 | }

    someone have any idea
    ?

    we are not using doker
    and we are in development

    Nicola Zambello
    @nzambello
    @zotya any ideas?
    Zoltan Szabo
    @zotya
    @giuliaghisini how did you start it?
    Giulia Ghisini
    @giuliaghisini
    with yarn start, without variables. I'm in development
    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.