Skip to content

Commit

Permalink
Recording (#19)
Browse files Browse the repository at this point in the history
* Add recordign

* Add recording server (partial)

* Add pages for record and sessions list

* Add cotent script (not working)

* Add record session script

* Add new content script file

* Add new content script

* Add messaging

* Add file to manifest

* Update status

* Add stores link to web page

* Revert "Add stores link to web page"

This reverts commit 83055e7.

* nothing special

* Change logic to record a session

* Addd

* Add list for sessions

* Add sessions list grid

* Add sidebar context

* Add recorder widget

* Add ignore elemet to widget

* Replace tooltip lib and max duration for video

* Add react window

* Add react-window

* Add delete all sessions

* change font size in rule list page

* Add duration to recorded sessios

* Add autoplay to session player

* Increase default unique id

* Add feature toggles context

* Add fowardref to outline button

* Add start recording button to popup

* Add tab remove listener

---------

Co-authored-by: Baghdasaryan <[email protected]>
Co-authored-by: GevorgB <[email protected]>
  • Loading branch information
3 people authored Dec 10, 2023
1 parent 00fe94c commit a68bf90
Show file tree
Hide file tree
Showing 65 changed files with 1,995 additions and 319 deletions.
10 changes: 10 additions & 0 deletions browser-extension/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
!**/.eslintrc*
node_modules*
dist
*.svg
*.ico
*.json
.gitignore
*.md
*.log
*.lock
81 changes: 74 additions & 7 deletions browser-extension/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,75 @@
/* eslint-env node */
const newLineItem = [
'break',
'case',
'cjs-export',
'cjs-import',
'class',
'continue',
'debugger',
'default',
'directive',
'do',
'empty',
'export',
'for',
'function',
'iife',
'switch',
'throw',
'try',
'var',
'while',
'with',
'import',
];

const afterNewLineItem = [...newLineItem];

const beforeNewLineItem = ['return', ...newLineItem];

module.exports = {
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
root: true,
ignorePatterns: ['webpack', 'tailwind.config.js', 'node_modules', 'dist'],
};
env: {
browser: true,
es6: true,
node: true,
},
parserOptions: {
sourceType: 'module',
ecmaVersion: 2020,
ecmaFeatures: {
jsx: true,
},
},
settings: {
react: {
pragma: 'React',
version: 'detect',
},
},
parser: '@typescript-eslint/parser',
extends: ['plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended', 'prettier'],
plugins: ['@typescript-eslint', '@emotion/eslint-plugin', 'prettier'],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'newline-after-var': [2, 'always'],
'@emotion/pkg-renaming': 'error',
'padding-line-between-statements': [
2,
{blankLine: 'always', prev: '*', next: beforeNewLineItem},
{blankLine: 'always', prev: afterNewLineItem, next: '*'},
{blankLine: 'any', prev: afterNewLineItem, next: afterNewLineItem},
],
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/camelcase': 'off',
'@typescript-eslint/explicit-member-accessibility': 'off',
'@typescript-eslint/ban-ts-ignore': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-var-requires': 'off',
//'@typescript-eslint/no-unused-vars': 'warn',
'@typescript-eslint/no-unused-vars': [2, {argsIgnorePattern: '^_', varsIgnorePattern: '^_'}],
},
};
8 changes: 8 additions & 0 deletions browser-extension/.eslintrc.cjss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* eslint-env node */
module.exports = {
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
root: true,
ignorePatterns: ['webpack', 'tailwind.config.js', 'node_modules', 'dist'],
};
Loading

0 comments on commit a68bf90

Please sign in to comment.