1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-07-15 23:54:29 +02:00

Clickable Links (#393)

* Added implementation for making links clickable

* Improved some clicking UX

* Removed unused stuff

* Fixed lint issues

* Added Compass Icons to Focalboard

* Updaed go.mod

* Made sure links in URL property are always assumed as absolute

* Removed unnecessary JSX code block

* Allowing only http and https protocols

* Removed unused extensions from file loader

* Icon and URL imporvements

* Added React component for Compass Icons.
* Allowed URLs with any arbitrary protocol.
This commit is contained in:
Harshil Sharma
2021-05-26 16:14:09 +05:30
committed by GitHub
parent 6cb7e49a2b
commit 3bf9d9382e
19 changed files with 6939 additions and 8 deletions

View File

@ -20,8 +20,8 @@ function makeCommonConfig() {
{
test: /\.m?js/,
resolve: {
fullySpecified: false
}
fullySpecified: false,
},
},
{
test: /\.tsx?$/,
@ -66,6 +66,22 @@ function makeCommonConfig() {
],
exclude: [/node_modules/],
},
{
test: /\.(png|eot|tiff|svg|woff2|woff|ttf|jpg)$/,
use: [
{
loader: 'file-loader',
options: {
name: '[name].[ext]',
outputPath: 'static',
},
},
{
loader: 'image-webpack-loader',
options: {},
},
],
},
],
},
resolve: {