111 Commits

Author SHA1 Message Date
Arseniy Zaostrovnykh
09f8c0b9f2
RULEAPI-571: test the UI components (#709) 2022-01-14 16:07:50 +00:00
Marco Antognini
105f563bb5
RULEAPI-703: Fix warnings emitted during npm run predeploy
Parse custom string instead of file and explicitly introduce level-1
section so that asciidoctor sees it.
2022-01-14 16:06:36 +00:00
Arseniy Zaostrovnykh
0223c2a00d
Fix UI warnings: <div> nested in <p> and list items lacking keys (#708)
Fix the two warnings observed when testing the SearchPage component:

- Each child in an array should have a unique "key" prop.
  -> add a key prop to list items
- <div> cannot be nested in <p> (or sth to that effect)
  -> change the relevant Typography components from "p" to "div"
2022-01-13 17:41:44 +01:00
Arseniy Zaostrovnykh
b335def299
Fix the frontend warnings (#696)
Two warnings descovered when trying to test RulePage component:
- `<div>` nested in `<p>`
- `<Tabs>` component with contradictory attributes: `centered` and `scrollable`
2022-01-12 17:52:35 +00:00
Arseniy Zaostrovnykh
a32b29744e
RULEAPI-571: Increase test coverage of the GitHub Page (#692) 2022-01-12 15:58:15 +00:00
Nils Werner
0153e37597
RULEAPI-715: Add the "common" language (#632) 2021-12-01 15:18:31 +00:00
Elena Vilchik
af599ec877
Add comment for the rule coverage logic (#446) 2021-10-01 14:33:45 +00:00
Elena Vilchik
84fb0a245c
RULEAPI-697 Display if rule is removed for some language 2021-10-01 15:47:43 +02:00
Arseniy Zaostrovnykh
a774d17f29
RULEAPI-700: fix odd highlighting for selected segment of metadata (#437) 2021-10-01 09:28:57 +02:00
Arseniy Zaostrovnykh
8d21500f3b
RULEAPI-700 Highlight the metadata JSON on the rule page (#432) 2021-09-30 17:15:45 +02:00
Arseniy Zaostrovnykh
2d3a3098c5
Use GITHUB_TOKEN for PR crawler to escape GitHub throttling (#430) 2021-09-30 14:48:04 +02:00
Elena Vilchik
1d44a68991
RULEAPI-688 Display covered languages on search page 2021-09-30 12:20:26 +02:00
Arseniy Zaostrovnykh
79e776ed8d
RULEAPI-691: Rule coverage: Track the last version of an analyzer implementing a rule along with the first version 2021-09-30 10:59:30 +02:00
Čaba Šagi
954bdb3fef
Remove quotes from title when searching for jira implementation tickets. (#391) 2021-09-23 16:14:10 +02:00
Čaba Šagi
2ec88ce0d8
RULEAPI-673: Stop displaying "Not implemented" for languages that do implement the rule (#386) 2021-09-22 13:49:19 +02:00
Čaba Šagi
322a7c4271
RULEAPI-675: When searching for a rule-id the results should start with the corresponding RSPEC (#373) 2021-09-21 10:26:06 +02:00
Elena Vilchik
02e112133c
RULEAPI-683 Reference the default language and each language by the tag (#372) 2021-09-21 09:43:28 +02:00
Čaba Šagi
99eefa300d
Revert setting of metadata (#370) 2021-09-20 15:23:53 +02:00
Čaba Šagi
a6040466de
Twitter cards support (#360) 2021-09-17 11:56:35 +02:00
Čaba Šagi
e5ab334b9b
RULEAPI-671 Remove menu button in github pages and change color theme (#359) 2021-09-17 10:51:48 +02:00
Elena Vilchik
8d5790e4cf
RULEAPI-658 Do not diplay 'default' in languages on search page (#354) 2021-09-17 09:57:00 +02:00
Elena Vilchik
07dcd27a31
RULEAPI-672 Surround new rule PR processing with try-catch 2021-09-16 16:15:34 +00:00
Čaba Šagi
68e7b7bf54
RULEAPI-667: Page title should contain rule ID (#348) 2021-09-16 13:37:14 +02:00
Elena Vilchik
e0362987e1
RULEAPI-674 Searching for RSPEC-XXXX should return the same as searching for SXXXX 2021-09-13 13:37:44 +00:00
Pierre-Loup
49aa2dcd4f
RULEAPI-653: Add a new language identifier for secrets detection rules (#154) 2021-07-01 12:26:02 +00:00
Evgeny Mandrikov
0d75ee679a
Change Jira and GitHub repository for Kotlin analyzer 2021-06-24 16:28:40 +02:00
Arseniy Zaostrovnykh
89c477a756
RULEAPI-652: [GH Page] Display the description of the rule when no language is specified 2021-06-10 15:30:10 +02:00
Pierre-Loup
5992534c55
[RULEAPI-639] Display the rule id in the page title (#110) 2021-06-08 18:32:38 +02:00
Arseniy Zaostrovnykh
16ca5fafaf
RULEAPI-649: Add frontend tests to CI 2021-06-08 15:21:29 +02:00
Arseniy Zaostrovnykh
53c4d38f7a
RULEAPI-570: Add required filters in Github Page search 2021-06-08 13:55:27 +02:00
Arseniy Zaostrovnykh
6bc79d539b
RULEAPI-634: The link "Edit on Github" in the GitHub page displaying a non-merged PR is broken 2021-06-03 16:30:50 +02:00
Arseniy Zaostrovnykh
c1c47eba60 Enable the comments rendering 2021-06-02 21:02:58 +02:00
Arseniy Zaostrovnykh
a228658b91
RULEAPI-626 Fix the crash when choosing terraform, rust, solidity, html - any non covered language 2021-06-01 16:50:15 +02:00
Arseniy Zaostrovnykh
2b6281069b
RULEAPI-624 Fix the RSPEC index in the presense of PRs with noncompliant file structure 2021-05-31 15:00:26 +02:00
Amélie Renard
ac5af2d116
RULEAPI-612 Enable full-text search over the non-implemented RSPECS in the PRs along with the rspecs on the master branch
Co-authored-by: Arseniy Zaostrovnykh <arseniy.zaostrovnykh@sonarsource.com>
2021-05-20 11:24:59 +02:00
Amélie Renard
eaf7866168
RULEAPI-613 GH Page: Modify links in "Related Tickets and Pull Requests" paragraph 2021-05-20 10:31:47 +02:00
Arseniy Zaostrovnykh
f68eface15 Fix the example test to look for the GH PR links 2021-05-06 19:58:50 +02:00
Arseniy Zaostrovnykh
9bbc7a5926 Fix the unused warning 2021-05-05 15:12:40 +02:00
Arseniy Zaostrovnykh
80d3da511c
RULEAPI-583 Add a link from the frontend to Github PRs adding rules 2021-05-05 14:50:29 +02:00
nicolas-harraudeau-sonarsource
705aa07e54
Clean frontend rules preprocessing (#31)
* Clean frontend rules preprocessing
2021-02-05 14:24:41 +01:00
Nicolas Harraudeau
badbc08602 Migrate frontend to typescript 2021-01-28 19:56:48 +01:00
Nicolas Harraudeau
6c780f8c1e Add links to RSPEC tickets and Pull Requests 2020-09-25 13:11:49 +02:00
Nicolas Harraudeau
dd3c3d3007 [frontend] Fix eslint issue 2020-07-09 18:58:59 +02:00
Nicolas Harraudeau
16ca0c667a [frontend] Show rule coverage 2020-07-09 18:53:51 +02:00
Nicolas Harraudeau
992dc7a623 [frontend] Improve search page design 2020-07-09 14:27:28 +02:00
Nicolas Harraudeau
f38aa5db8a [frontend] Refactor search handlers 2020-07-09 10:44:35 +02:00
Nicolas Harraudeau
7e5ad929a2 [frontend] fix the default rule type filter in search. 2020-07-08 00:35:03 +02:00
Nicolas Harraudeau
c9fd8614c2 [frontend] Enable search filtering by rule type and tags 2020-07-08 00:30:17 +02:00
nicolas-harraudeau-sonarsource
ac5f91e22d
Merge pull request #17 from SonarSource/display-json
Display json and edit link
2020-07-07 09:23:22 +02:00
Nicolas Harraudeau
9752cb3383 [Frontend] Fix search hook dependencies 2020-07-06 20:38:08 +02:00