GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Alex Gleason (alex@gleasonator.com)'s status on Tuesday, 17-Jan-2023 13:26:09 JST Alex Gleason Alex Gleason

    IT’S COMPILING IN VITE

    In conversation Tuesday, 17-Jan-2023 13:26:09 JST from gleasonator.com permalink

    Attachments


    1. https://media.gleasonator.com/2464312a5017e420e5a368b47dc128ef8ad73875495b1627802a7eb37b3a0811.png
    • Embed this notice
      opal hart (opal@ap.maladaptive.art)'s status on Tuesday, 17-Jan-2023 13:32:06 JST opal hart opal hart
      in reply to
      @alex how are you and your self-documenting variable names going
      In conversation Tuesday, 17-Jan-2023 13:32:06 JST permalink
      Alex Gleason likes this.
    • Embed this notice
      Alex Gleason (alex@gleasonator.com)'s status on Tuesday, 17-Jan-2023 13:32:14 JST Alex Gleason Alex Gleason
      in reply to
      • opal hart

      @opal prettyWellHowAboutYou?

      In conversation Tuesday, 17-Jan-2023 13:32:14 JST permalink
    • Embed this notice
      opal hart (opal@ap.maladaptive.art)'s status on Tuesday, 17-Jan-2023 13:33:40 JST opal hart opal hart
      in reply to
      @alex im doing better actually since this morning
      In conversation Tuesday, 17-Jan-2023 13:33:40 JST permalink
      Alex Gleason likes this.
    • Embed this notice
      Alex Gleason (alex@gleasonator.com)'s status on Tuesday, 17-Jan-2023 14:10:14 JST Alex Gleason Alex Gleason
      in reply to
      • ew

      @e How do I do dumb shit like this in Vite? https://gitlab.com/soapbox-pub/soapbox/-/blob/develop/app/soapbox/utils/code.js

      I call git from JS at buildtime to get the current commit. The runtime code is only the exported JSON object. I guess it’s kinda like SSR?

      I need a solution for Vite.

      In conversation Tuesday, 17-Jan-2023 14:10:14 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: gitlab.com
        Files · develop · Soapbox / Soapbox · GitLab
        A social media frontend with a focus on custom branding and ease of use. https://soapbox.pub
    • Embed this notice
      ew (e@masochi.st)'s status on Tuesday, 17-Jan-2023 14:13:06 JST ew ew
      in reply to
      • MattZ
      @colinsmatt11 @alex he's saying it's ssr-like, he wants build-time codegen. there's a few ways to do it, lemme think though
      In conversation Tuesday, 17-Jan-2023 14:13:06 JST permalink
      Alex Gleason likes this.
    • Embed this notice
      MattZ (colinsmatt11@gleasonator.com)'s status on Tuesday, 17-Jan-2023 14:13:07 JST MattZ MattZ
      in reply to
      • ew
      @alex @e If you want SSR why not use vite-plugin-ssr?
      In conversation Tuesday, 17-Jan-2023 14:13:07 JST permalink
    • Embed this notice
      ew (e@masochi.st)'s status on Tuesday, 17-Jan-2023 14:16:08 JST ew ew
      in reply to
      • ew
      • MattZ
      @colinsmatt11 @alex I think just inside the vite config you would read the git head and then inject it into the meta.env attribute:

      https://vitejs.dev/guide/env-and-mode.html
      In conversation Tuesday, 17-Jan-2023 14:16:08 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: vitejs.dev
        Vite
        Next Generation Frontend Tooling
      Alex Gleason likes this.
    • Embed this notice
      ew (e@masochi.st)'s status on Tuesday, 17-Jan-2023 14:22:02 JST ew ew
      in reply to
      • ew
      • MattZ
      @alex @colinsmatt11 yeah ok so maybe just try setting process.env['VITE_GIT_HEAD'] inside vite.config.js and see if it will pick it up inside meta.env
      In conversation Tuesday, 17-Jan-2023 14:22:02 JST permalink
      Alex Gleason likes this.
    • Embed this notice
      Alex Gleason (alex@gleasonator.com)'s status on Tuesday, 17-Jan-2023 14:23:58 JST Alex Gleason Alex Gleason
      in reply to
      • ew
      • MattZ

      @e @colinsmatt11 Thank you, I can finally replace this dumb file too with that strategy: https://gitlab.com/soapbox-pub/soapbox/-/blob/develop/app/soapbox/build-config.js

      I still have a problem with emojis, but… maybe I should resurrect your old MR. ?

      In conversation Tuesday, 17-Jan-2023 14:23:58 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: gitlab.com
        app/soapbox/build-config.js · develop · Soapbox / Soapbox · GitLab
        A social media frontend with a focus on custom branding and ease of use. https://soapbox.pub
    • Embed this notice
      Fediverse Contractor (bot@seal.cafe)'s status on Tuesday, 17-Jan-2023 14:24:55 JST Fediverse Contractor Fediverse Contractor
      in reply to
      • ew
      • MattZ
      Wait what problem with emojis?
      In conversation Tuesday, 17-Jan-2023 14:24:55 JST permalink
    • Embed this notice
      Alex Gleason (alex@gleasonator.com)'s status on Tuesday, 17-Jan-2023 14:27:43 JST Alex Gleason Alex Gleason
      in reply to
      • ew
      • Fediverse Contractor
      • MattZ

      @bot @colinsmatt11 It’s all fucked up, and @e wrote us this beautiful MR to fix it 6 months ago that we didn’t merge for no reason, then he created his own frontend.

      https://gitlab.com/soapbox-pub/soapbox/-/merge_requests/1572

      In conversation Tuesday, 17-Jan-2023 14:27:43 JST permalink
    • Embed this notice
      ew (e@masochi.st)'s status on Tuesday, 17-Jan-2023 14:28:09 JST ew ew
      in reply to
      • MattZ
      @alex @colinsmatt11 lul yeah. the emoji loading code is a bit spooky. you should look into react 18 streaming as an aside. I'm not sure if we already talked about this but your setup should support it nicely because you're using tailwind css. react 18 streaming is blocked mostly by css-in-js libraries.

      https://vite-plugin-ssr.com/stream
      In conversation Tuesday, 17-Jan-2023 14:28:09 JST permalink

      Attachments

      1. No result found on File_thumbnail lookup.
        HTML Streaming | vite-plugin-ssr
      Alex Gleason likes this.
    • Embed this notice
      Fediverse Contractor (bot@seal.cafe)'s status on Tuesday, 17-Jan-2023 14:28:42 JST Fediverse Contractor Fediverse Contractor
      in reply to
      • ew
      • MattZ
      Just make sure he isn't trying to hack me, but I guess it's fine otherwise.
      In conversation Tuesday, 17-Jan-2023 14:28:42 JST permalink
    • Embed this notice
      Fediverse Contractor (bot@seal.cafe)'s status on Tuesday, 17-Jan-2023 14:30:47 JST Fediverse Contractor Fediverse Contractor
      in reply to
      • ew
      • Fediverse Contractor
      • MattZ
      Does this mean we're going to get animeirls nice emoji picker though?
      In conversation Tuesday, 17-Jan-2023 14:30:47 JST permalink
    • Embed this notice
      Alex Gleason (alex@gleasonator.com)'s status on Tuesday, 17-Jan-2023 14:32:55 JST Alex Gleason Alex Gleason
      in reply to
      • ew
      • Fediverse Contractor
      • MattZ

      @bot @colinsmatt11 @e It’s a step towards everything being not completely fucked up with emojis, which would enable us to build the picker we want.

      In conversation Tuesday, 17-Jan-2023 14:32:55 JST permalink
    • Embed this notice
      Fediverse Contractor (bot@seal.cafe)'s status on Tuesday, 17-Jan-2023 14:35:29 JST Fediverse Contractor Fediverse Contractor
      in reply to
      • ew
      • MattZ
      Who is we?
      In conversation Tuesday, 17-Jan-2023 14:35:29 JST permalink
    • Embed this notice
      tassoman (tassoman@gleasonator.com)'s status on Tuesday, 17-Jan-2023 14:44:58 JST tassoman tassoman
      in reply to
      • ew
      • Fediverse Contractor
      • MattZ
      @bot @alex @colinsmatt11 @e It's me and others going through Alex ? I suppose
      In conversation Tuesday, 17-Jan-2023 14:44:58 JST permalink
    • Embed this notice
      Fediverse Contractor (bot@seal.cafe)'s status on Tuesday, 17-Jan-2023 14:44:58 JST Fediverse Contractor Fediverse Contractor
      in reply to
      • ew
      • MattZ
      • tassoman
      Emoji reacts should be the top priority imo.
      In conversation Tuesday, 17-Jan-2023 14:44:58 JST permalink
    • Embed this notice
      ew (e@masochi.st)'s status on Tuesday, 17-Jan-2023 15:19:48 JST ew ew
      in reply to
      • Fediverse Contractor
      • MattZ
      @alex @colinsmatt11 @bot the masculine urge to rewrite soapbox's i18n, emoji, and reducer code
      In conversation Tuesday, 17-Jan-2023 15:19:48 JST permalink

      Attachments


      1. https://masochi.st/media/10cebc8c6a794045d25df4c0c6ccf248b88f2483b899f3996f3f3cd48a03348e.png
    • Embed this notice
      Ako Suminoe :njp: (realakosuminoe@poa.st)'s status on Wednesday, 18-Jan-2023 00:34:24 JST Ako Suminoe :njp: Ako Suminoe :njp:
      in reply to
      @alex that's static site generation (SSG), not server side rendering (SSR). SSG is when content is statically generated at build time. SSR is when you run JS on the server to fetch content at runtime, and generate the HTML server side with no JS sent to client (unless you are hydrating it later, but that's a different convo).

      Because soapbox is a client-side rendered SPA that is getting content over an API from the rebased backend, there should be no SSR here at all.
      In conversation Wednesday, 18-Jan-2023 00:34:24 JST permalink
      Alex Gleason likes this.
    • Embed this notice
      ew (e@masochi.st)'s status on Wednesday, 18-Jan-2023 00:38:46 JST ew ew
      in reply to
      • Fediverse Contractor
      • MattZ
      @alex @colinsmatt11 @bot >which would enable us to build the picker we want.
      were you wanting to roll your own? they are actually surprisingly easy to make. I did one in a few hours for cumfe w/ virtuoso
      In conversation Wednesday, 18-Jan-2023 00:38:46 JST permalink
      Alex Gleason likes this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.