https://www.plasmo.com/ logo
Join Discord
Powered by
# 💡feature-requests
  • f

    fancy-intern-4869

    07/24/2022, 3:22 PM
    What do you use for validation in plasmo? zod?
  • f

    fancy-intern-4869

    07/24/2022, 3:22 PM
    Because, this requires a check if the user defined id contains at least one char and no spaces (AFAIK)
  • f

    fancy-intern-4869

    07/24/2022, 3:23 PM
    Also, how can I pick up the shadowHost id from the user? Would a user export a const following a specific naming convention in their content-script?
  • l

    limited-farmer-52140

    07/24/2022, 3:24 PM
    Yup, check how the getMountPoint and getStyle are done
  • l

    limited-farmer-52140

    07/24/2022, 3:25 PM
    Booting up my box now
  • l

    limited-farmer-52140

    07/24/2022, 3:25 PM
    I realize the more healthier the veggie like ginger/spring onion, the more time is needed to prep eh xd
  • l

    limited-farmer-52140

    07/24/2022, 3:28 PM
    We can do a simple runtime check imo
  • f

    fancy-intern-4869

    07/24/2022, 3:45 PM
    Thanks for the help, @limited-farmer-52140 -> https://github.com/PlasmoHQ/plasmo/pull/116
  • s

    swift-answer-82009

    07/24/2022, 3:45 PM
    Gave +1 Rep to @User
  • f

    fancy-intern-4869

    07/24/2022, 3:45 PM
    Btw this is my very first OSS PR. 😊
  • l

    limited-farmer-52140

    07/24/2022, 3:46 PM
    noice :D - welcome to the contributor club! ;p
  • s

    sticky-dress-98131

    08/08/2022, 7:03 PM
    Updated auto-threading settings for #983397810533720075
  • q

    quiet-electrician-41149

    08/21/2022, 10:44 PM
    What are peoples thoughts on adding
    window.localStorage
    support to the
    @plasmohq/storage
    library? I like using the window localStorage in development so that I can debug, however the types for
    window.localStorage
    dont match that of the plasmo library
    s
    • 2
    • 1
  • q

    quiet-electrician-41149

    08/24/2022, 3:29 AM
    Is https://partytown.builder.io/ something that chrome extensions can support?
    s
    • 2
    • 1
  • q

    quiet-electrician-41149

    09/05/2022, 7:14 PM
    It would be nice if the manifest for the dev version appended
    [DEV]
    or something so that if we have both the dev and prod versions installed in chrome, we can easily differentiate them
    s
    • 2
    • 1
  • b

    busy-greece-52941

    09/09/2022, 10:20 AM
    Do you think it would make sense to create a wrapper package/module (similar to how the storage pkg is) for communication inside the extension (between injected scripts, content scripts, service workers and extension pages)? Would also love to help out with this.
    s
    q
    q
    • 4
    • 6
  • m

    most-account-67892

    09/13/2022, 11:05 AM
    For any interested parties, we are having a Plasmo support for tRPC discussion here 👇 https://github.com/jlalmes/trpc-chrome/pull/1
    s
    • 2
    • 1
  • b

    breezy-kite-70216

    09/15/2022, 1:36 AM
    I would love it if we could add the ability to inject full scripts into the
    main
    world via
    chrome.scripting.executeScript
    . I'm currently just injecting a function (as shown in the example below), but a script would be awesome. Injecting function example: https://github.com/PlasmoHQ/examples/tree/d3bb1fafe0efde0200bcaa3f8ed094697382651c/with-main-world-content-script-injection Even MORE awesome would be if we could inject a script that imports from other modules 🔥 that would make my life SO much easier!
    s
    q
    • 3
    • 11
  • t

    thousands-horse-90118

    09/20/2022, 9:01 PM
    I'd like to request that the type PlasmoContentScript support exclude matches(https://developer.chrome.com/docs/extensions/mv3/content_scripts/#matchAndGlob) as per the MV3 spec.
    s
    • 2
    • 1
  • b

    busy-greece-52941

    09/20/2022, 9:32 PM
    I want to continue conversation on this: https://github.com/PlasmoHQ/plasmo/issues/182 https://discord.com/channels/946290204443025438/1015686988055191623/1015980676488630373
    s
    • 2
    • 2
  • q

    quaint-rainbow-21282

    09/21/2022, 10:24 PM
    I'd love to be able to get minimal boilerplate for a project (different than an example of usage)
    plasmo create --content-ui
    s
    • 2
    • 1
  • a

    ambitious-restaurant-41333

    09/27/2022, 10:07 AM
    Will Plasmo support Qwik? https://github.com/BuilderIO/qwik
    s
    • 2
    • 1
  • a

    ambitious-restaurant-41333

    11/04/2022, 1:09 PM
    https://blog.mozilla.org/addons/2022/03/17/new-api-for-submitting-and-updating-add-ons/
    s
    q
    • 3
    • 4
  • b

    brainy-mechanic-45774

    11/10/2022, 6:28 PM
    👋 hey team! One thought for y'all is that I think it would be nice to give some utilities & framework opinion-ation on the suggested ways to do things like: * Make XHR requests * Do auth Whenever I build a Chrome Extension I always find myself asking how I should wire up my API calling, and where it ought to happen from. If the recommended approach is to communicate to the Service Worker and make calls from there, then it seems like providing some utilities might be a nice thing to do
    s
    • 2
    • 1
  • a

    ambitious-restaurant-41333

    11/15/2022, 8:26 PM
    Make a Plasmo GUI, similar to Vue CLI's GUI https://cli.vuejs.org/guide/creating-a-project.html#vue-create
    s
    • 2
    • 2
  • a

    astonishing-helmet-51272

    11/16/2022, 11:38 AM
    I think the contextMenus permission is not correctly identified. I'm using it from a background script using
    chrome.contextMenus
    but it is not added to the manifest. I did a search on Discord and on GitHub but couldn't find anything yet. Should I open an issue?
    s
    • 2
    • 1
  • b

    busy-farmer-94678

    11/18/2022, 12:44 PM
    Hi, framework looks great, enjoying trying it out. There are a few issues we encounter that we are having to handle manually and were wondering if they were on your roadmap. They involve users getting into bad states when installing or updating the extension. 1. When a new user installs the extension, content scripts don't seem to be injected on existing open tabs. The icon in the toolbar is present so they expect the full extension to be available which is confusing for them. We are having to check if the content scripts are loaded when a tab is visited and manually load them if not. 2. When an update is done to the extension, existing tabs have the content scripts loaded from the previous version, while the newer version is in the background so attempts to communicate from the content to the background fail with an 'extension context invalidated'. Here we are having to try to remove the 'old' content script ui and manually load the newer one. Are these issues you have come across and if so, are there any plans for the framework to handle them? Thanks!
    s
    • 2
    • 1
  • b

    busy-farmer-94678

    11/30/2022, 9:39 AM
    Definitely a 'nice to have' rather than essential but being able to set a different toolbar icon for dark mode would be a nice use-case to solve for. Currently we manually check the color scheme on the window and then use chrome.browserAction.setIcon to do this.
    s
    • 2
    • 1
  • q

    quick-church-70074

    12/06/2022, 10:47 AM
    [docs] anyone have a production example of sharing auth state between plasmo and an api? can create a PR to help others once figured out
    s
    • 2
    • 1
  • f

    fancy-library-84737

    12/09/2022, 10:55 PM
    anyone have an example of plasmo working in a monorepo that shares components with a expo/react native?
    s
    • 2
    • 1