If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.
New contributors please see our Developer's Guide, specifically for machine setup and for developer workflow.
Notes: Jira ticket
Add functionality to allow +
and .
in custom URL schemes, in System Console > Customization > Posts > Custom URL Schemes (in addition to hyphen). Currently, custom URL schemes must start with a letter and contain only letters, numbers and hyphen (-). This needs to work on both the mobile and web apps, so the Markdown parsers for both (marked and commonmark.js respectively) need to have their URL parsers updated.
Original story: MM-9547
After implemented, error message on trying to save an invalid URL scheme (such as %%
) should say:
"The custom URL scheme {invalid entry} is invalid. Custom URL schemes must start with a letter and contain only letters, numbers, plus (+), period (.), and hyphen (-)."
Needs to be supported on webapp and mobile clients.
Hi, I'd love to work on this one.
Hey @letsila,
Are you still interested in working on this issue?
Hi @hanzei. Yes I am.
Great! Let me know if you have any questions @letsila
Hi @hanzei , I see in the issue description that I need to update both marked and commonmark.js. I guess that I need to serve these files from .node_modules
to import them from the webapp react app. Is there some documentation on how I could achieve that?
The first step would be to submit PR's to the two repositories. Then package.json
in the webapp repo should be updated in a third PR
Does this solve your question?
The PR's steps makes sense. On the mattermost-redux
there's the npm run dev:watch
command, which allowed me to serve the dev repo of mattermost-redux into the mattermost-webapp. Hence I was wondering if there is something similar for the marked
and commonmark.js
repo.
I don't think that's needed for those repositories since I'm pretty sure they can be used with npm link
. That doesn't work with mattermost-redux
because of the way that we compile it to ES5
Thank you @hanzei
Most helpful comment
I don't think that's needed for those repositories since I'm pretty sure they can be used with
npm link
. That doesn't work withmattermost-redux
because of the way that we compile it to ES5