instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RustCrypto__elliptic-curves__772 | RustCrypto/elliptic-curves | 772 | defect | 195ff6788b1b2c3ae481e05000e4a3156ea30d41 | d5ea3f7ccf65894bc85dfe39b71a610fc4a2f2a5 | fix compactabtility check | The function `to_compact_encoded_point` should return a CtOption where is_some set to 0 if the AffinePoint is non-compactable.
The current implementation checks if the EncodedPoint from bytes decodes properly to determine compactability. However, the EncodedPoint will always decode just fine, even when a non-compact... | diff --git a/p256/tests/affine.rs b/p256/tests/affine.rs
index daedbada8..a51c24462 100644
--- a/p256/tests/affine.rs
+++ b/p256/tests/affine.rs
@@ -118,3 +118,14 @@ fn identity_encoding() {
.is_identity()
))
}
+
+#[test]
+fn noncompatible_is_none() {
+ let noncompactable_secret = [
+ 175, ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The test should call `SecretKey::from_bytes` instead of `from_be_bytes`, since the latest release of `elliptic-curve` defines a specific endianness per-curve.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new test code n... | null |
RustCrypto__hashes__353 | RustCrypto/hashes | 353 | defect | 32029ac14632ba08618aaecef508cb5ffcfd42c4 | 4e4e00ae351340fb3fa3d452b7d2f03e310a108c | Refactor k12 | The k12 crate had its own keccak-p permutation implementation.
~With https://github.com/RustCrypto/sponges/pull/7 a generic keccak-p implementation would be available, which could be used within the k12 crate.~
With https://github.com/RustCrypto/hashes/pull/458 TurboSHAKE is available, which can be used within the `... | diff --git a/k12/Cargo.toml b/k12/Cargo.toml
index d736e0827..ef728c709 100644
--- a/k12/Cargo.toml
+++ b/k12/Cargo.toml
@@ -13,6 +13,7 @@ categories = ["cryptography", "no-std"]
[dependencies]
digest = { version = "0.10", features = ["alloc"] }
+keccak = { git = "https://github.com/aewag/sponges", branch = "1-add-... | 4 | 3 | 0 | [{"id": "G0", "claim": "The temporary git dependency on the author's `keccak` fork needs to be changed to the official `keccak` crate once `keccak-p` is available there.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "For K12 it would be interest... | null |
RustCrypto__hashes__417 | RustCrypto/hashes | 417 | defect | f9af45fdde84bb24c25f90011d7b2316783eb29f | 2dc10dbdde2fe772342fe9160084bf330dab43b4 | gost94: add OID support | This is an RFC for the 'oid' feature. I do not have example files with the DSTU usage, but hopefully @IvashchenkoSerhii can comment whether `1.2.804.2.1.1.1.1.2.1` is used as a separate digest parameter OID or if it is an OID of the GOST 34.311-95 with the DSTU sBox.
Additional notice. I have added `AssociatedOid` i... | diff --git a/.github/workflows/gost94.yml b/.github/workflows/gost94.yml
index b2005bcc3..fbac73a17 100644
--- a/.github/workflows/gost94.yml
+++ b/.github/workflows/gost94.yml
@@ -49,7 +49,7 @@ jobs:
strategy:
matrix:
rust:
- - 1.41.0 # MSRV
+ - 1.57.0 # MSRV
- stable
... | 2 | 2 | 1 | [{"id": "G0", "claim": "The blanket AssociatedOid impl for Gost94Core<P> hardcodes 1.2.643.2.2.9 for every paramset; OIDs should instead be associated per paramset — 1.2.643.2.2.9 for Gost94Core<CryptoProParam> with a reference to RFC 4490 and 1.2.643.2.2.30.1 for CryptoProParam — with the blanket impl removed.", "cate... | null |
RustCrypto__hashes__573 | RustCrypto/hashes | 573 | defect | 1f792033dc24fb2a5f8e6f193dce477040138fd4 | 44153da012cdf6650e4501627127dd21b4851b72 | Add Customized trait for CSHAKE | Use the new function `new_customized` from https://github.com/RustCrypto/traits/pull/1334 in CSHAKE tests | diff --git a/sha3/src/lib.rs b/sha3/src/lib.rs
index 68c519a09..3448770cb 100644
--- a/sha3/src/lib.rs
+++ b/sha3/src/lib.rs
@@ -8,7 +8,7 @@
#![forbid(unsafe_code)]
#![warn(missing_docs, rust_2018_idioms)]
-pub use digest::{self, Digest};
+pub use digest::{self, CustomizedInit, Digest};
use core::fmt;
use diges... | 1 | 1 | 0 | [{"id": "G0", "claim": "The inherent `new(customization)` method should probably be removed from the macro and its implementation moved into the `CustomizedInit` trait impl, which should call `Self::new_with_function_name` instead of delegating to the inherent method.", "category": "design", "verdict": "supported", "pr... | null |
RustCrypto__password-hashes__249 | RustCrypto/password-hashes | 249 | defect | afa29a3ad6ef3555fb6811ef5618f251944ee62f | d0ab4d3e121f58c164cb622eab7ab0f1b99e09cb | argon2: Add tests from reference implementation | Hi !
I tried to add the tests from the argon2 reference implementation as suggested in #109
It's not finished, but I'd like to have some pointers there 😃
Most (but not all !) tests involving argon2i are falling on `ctx.verify_password` (but `hash_password_into` returns the correct hash).
On the other hand a... | diff --git a/argon2/tests/kat.rs b/argon2/tests/kat.rs
index 736a65e5..3e2dbe9b 100644
--- a/argon2/tests/kat.rs
+++ b/argon2/tests/kat.rs
@@ -9,7 +9,9 @@
// TODO(tarcieri): test full set of vectors from the reference implementation:
// https://github.com/P-H-C/phc-winner-argon2/blob/master/src/test.c
-use argon2::... | 6 | 2 | 0 | [{"id": "G0", "claim": "verify_password should be provided as a regular function (and Argon2::verify_password / hash_password_customized as associated functions) so users need not figure out how to build an Argon2 instance from a PasswordHash.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "pr... | null |
RustCrypto__password-hashes__350 | RustCrypto/password-hashes | 350 | defect | 55df2a4cbdef1bd8c77c331b937ae42ef1dfaf7c | 0670267ac511941afa6624de9bf6d9533fe8400e | sha-crypt: add sha256_crypt | This uses #349 and and is missing some code dedup. | diff --git a/Cargo.lock b/Cargo.lock
index d3dee69e..a0f35657 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -6,7 +6,7 @@ version = 3
name = "argon2"
version = "0.5.0-pre"
dependencies = [
- "base64ct",
+ "base64ct 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
"blake2",
"hex-literal",
"password-... | 3 | 3 | 1 | [{"id": "G0", "claim": "The translation tables (inverse encoding maps) should be formatted as in the spec, which would make checking the constants easier.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The base64ct git dependency in sha-crypt/Ca... | null |
RustCrypto__password-hashes__853 | RustCrypto/password-hashes | 853 | defect | 58cbcbe2fd47ee2d7e88f40ac3fbe04e3d7c3b7a | 602495c9ddf43404b41c124dbd40b4e75746dea3 | pbkdf2: remove `sha1` feature | This came up in some discussions about hypothetical FIPS support, noting NIST already recommends against SHA-1 and plans on complete phase-out by December 31st, 2030:
https://www.nist.gov/news-events/news/2022/12/nist-retires-sha-1-cryptographic-algorithm
That article notes on that date FIPS 180-5 will be publish... | diff --git a/.github/workflows/pbkdf2.yml b/.github/workflows/pbkdf2.yml
index 7cf32d8e..c23359b2 100644
--- a/.github/workflows/pbkdf2.yml
+++ b/.github/workflows/pbkdf2.yml
@@ -63,4 +63,5 @@ jobs:
- run: cargo test --no-default-features --features kdf
- run: cargo test --no-default-features --features p... | 3 | 2 | 1 | [{"id": "G0", "claim": "The RFC 6070 PBKDF2-HMAC-SHA1 test that the PR removes can be kept, with sha1 remaining available as a dev-dependency.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "pbkdf2 should not depend on any hash crates (including sha2) ou... | null |
RustCrypto__ring-compat__17 | RustCrypto/ring-compat | 17 | defect | 95842f6ff87cd282096aacb555d7ee149d0270ed | 602cd2d6c6b58024274fefd4f155c813edb62cff | Signature support: ECDSA and Ed25519 | Adds a toplevel `signature` module with `ecdsa` and `ed25519` submodules. | diff --git a/.github/workflows/ring-compat.yml b/.github/workflows/ring-compat.yml
index 34f0968..0ff380e 100644
--- a/.github/workflows/ring-compat.yml
+++ b/.github/workflows/ring-compat.yml
@@ -31,6 +31,7 @@ jobs:
- run: cargo test --release --no-default-features
- run: cargo test --release --no-defaul... | 1 | 1 | 0 | [{"id": "G0", "claim": "Use the hex-literal macro to make the Ed25519 test vectors more compact.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
RustCrypto__signatures__1261 | RustCrypto/signatures | 1,261 | defect | 789a601ebe4e4e0f43db6256350c247807acda9f | c3230e45c2aea2d73cee0c0fcb061dd7e56d8bda | ml-dsa: lower stack size of KeyGen::from_seed by up to 207kb | This reworks the API to make KeyGen::from_seed return a `SeededSigningKey` instead of a `KeyPair`.
The `SeededSigningKey` effectively replaces the `KeyPair`, and instead of eagerly generating the VerifyingKey (implementing `signature::KeypairRef`), it implements `signature::Keypair` and makes the verifying key when re... | diff --git a/ml-dsa/benches/ml_dsa.rs b/ml-dsa/benches/ml_dsa.rs
index 0a362e1b..9cd7f592 100644
--- a/ml-dsa/benches/ml_dsa.rs
+++ b/ml-dsa/benches/ml_dsa.rs
@@ -1,7 +1,7 @@
use criterion::{Criterion, criterion_group, criterion_main};
use getrandom::SysRng;
use hybrid_array::{Array, ArraySize};
-use ml_dsa::{B32, K... | 1 | 1 | 0 | [{"id": "G0", "claim": "The seed-based signing key struct should be named `SigningKey` instead of `SeededSigningKey`, with the expanded form called `ExpandedSigningKey`, similar to ed25519-dalek.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
RustCrypto__signatures__489 | RustCrypto/signatures | 489 | defect | b8f48bd9de6f533f05f9a90c8596ff8e4be876f8 | aa6315657242dbfc1b50c8f714c02e951ba5e928 | dsa: Small API overhaul | This PR overhauls the API of the `dsa` crate a bit
# Changes
(copy pasted from `CHANGELOG.md`)
## Added
- Internal sanity check validating the `r` and `s` components of the signature
- Public `OID` constant representing the object identifier defined in RFC-3279, section 2.3.2
## Changed
- `Compone... | diff --git a/Cargo.lock b/Cargo.lock
index ad89292b..eacad06c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -76,9 +76,9 @@ dependencies = [
[[package]]
name = "crypto-bigint"
-version = "0.4.2"
+version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "de3e45371ac6a1370324b085ac... | 7 | 7 | 0 | [{"id": "G0", "claim": "Consider folding the `is_valid` validity check into the constructor instead of keeping it as a separate `pub(crate)` method.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the `// TODO: Using this error doesn't seem right` ... | null |
RustCrypto__signatures__867 | RustCrypto/signatures | 867 | defect | c0ab70c4e71aa14c3e7a088600e18bc39eb7d536 | e072e3382d1565f28426fced3f2f3a0ffb3372df | slh-dsa: adds pkcs8 support | Made a demo w/ x509 over in https://github.com/baloo/playground-x509-slh-dsa
I guess this effectively implements a [draft RFC](https://datatracker.ietf.org/doc/draft-ietf-lamps-cms-sphincs-plus/) | diff --git a/Cargo.lock b/Cargo.lock
index dd7d4d8a6..4de070397 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1095,6 +1095,7 @@ version = "0.2.0-pre"
dependencies = [
"aes",
"cipher",
+ "const-oid",
"criterion",
"ctr",
"digest",
@@ -1104,6 +1105,7 @@ dependencies = [
"hybrid-array",
"num-bigint",
"paste... | 1 | 1 | 0 | [{"id": "G0", "claim": "The origin of the hard-coded test key in the pkcs8_output test should be documented (the reviewer asks where the key came from; tarcieri asks that a comment about its origin be added).", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
RustCrypto__signatures__891 | RustCrypto/signatures | 891 | defect | 753cfcf00606eae8218d25886026e71e8425425a | ad21bf6198abca18c98d57370bcd40fa6845a3cf | ml-dsa: implement initial `pkcs8`/`spki` traits | RFC Draft: [https://datatracker.ietf.org/doc/draft-ietf-lamps-dilithium-certificates/](https://datatracker.ietf.org/doc/draft-ietf-lamps-dilithium-certificates/)
Fixes #890 | diff --git a/Cargo.lock b/Cargo.lock
index f3ab18c1b..c4f2d0065 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -683,11 +683,13 @@ checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d"
name = "ml-dsa"
version = "0.1.0-pre.0"
dependencies = [
+ "const-oid",
"criterion",
"hex",
"hex-literal",... | 5 | 3 | 1 | [{"id": "G0", "claim": "The pull request does not implement EncodePrivateKey for KeyPair because the seed cannot be recovered from a signing key.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The TryFrom<PrivateKeyInfoRef> for SigningKey impl should be ... | null |
RustCrypto__utils__561 | RustCrypto/utils | 561 | defect | 4ad17f71a44967cb84c0d47a5e9deecad1ef9f63 | 1256d090098834b98eac32ad00a927b77b88c754 | crypto-bigint: add modulo operations to `UInt` | Continuing on @dignifiedquire's work from #510, this PR attempts to simplify the implementation.
~~Aspirationally, the goal is to add equivalence tests with a known-good implementation.~~ Proptests against `num-bigint` added. | diff --git a/Cargo.lock b/Cargo.lock
index 07c860191..6314de0f1 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -113,6 +113,7 @@ version = "0.2.2"
dependencies = [
"generic-array",
"hex-literal 0.3.1",
+ "rand_chacha",
"rand_core",
"subtle",
"zeroize",
@@ -277,6 +278,12 @@ dependencies = [
"zeroize",
]
+[[p... | 2 | 2 | 1 | [{"id": "G0", "claim": "The generic-only `add_mod` implementation prevents the maintainer from adding hand-optimized implementations for specific limb sizes, which are needed for optimal performance.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
RustCrypto__utils__799 | RustCrypto/utils | 799 | defect | b858f0c8f4959a88e836764e48f5495fbe9243c4 | 08a0a4dc68a9adc8bf4fdf4215a02b2c0885ef4c | block-buffer: add try_new method | try_new creates BlockBuffer or returns an error.
Requested in https://github.com/RustCrypto/traits/pull/1078 | diff --git a/block-buffer/src/lib.rs b/block-buffer/src/lib.rs
index cc19b7c34..29b9b1364 100644
--- a/block-buffer/src/lib.rs
+++ b/block-buffer/src/lib.rs
@@ -8,7 +8,7 @@
pub use generic_array;
-use core::{marker::PhantomData, slice};
+use core::{fmt, marker::PhantomData, slice};
use generic_array::{
typen... | 2 | 2 | 1 | [{"id": "G0", "claim": "Since block-buffer has no `std` feature and `try_new` is intended to be used only by RustCrypto crates that immediately remap the error into their own, the implementation of `std::error::Error` for the new `Error` type should be omitted.", "category": "design", "verdict": "supported", "priority"... | null |
RustCrypto__utils__882 | RustCrypto/utils | 882 | defect | 8c650ca2f1eeeddeac0eba82e0008dcfc95bdc67 | 47daf02c14fdf6745e2ecb863118e9956a50e5da | zeroize_derive: Inject where clauses; skip unused | The where clauses I was previously injecting *were* load bearing, but they needed to be filtered for skipped fields.
Fixes #878 | diff --git a/zeroize/derive/Cargo.toml b/zeroize/derive/Cargo.toml
index 303bb37c..baaacf13 100644
--- a/zeroize/derive/Cargo.toml
+++ b/zeroize/derive/Cargo.toml
@@ -17,7 +17,7 @@ proc-macro = true
[dependencies]
proc-macro2 = "1"
quote = "1"
-syn = {version = "2", features = ["full", "extra-traits"]}
+syn = {versi... | 1 | 1 | 0 | [{"id": "G0", "claim": "The added test struct field should end with a trailing comma (`used: T,`) to satisfy rustfmt.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
RustCrypto__utils__974 | RustCrypto/utils | 974 | defect | b755f1a29b074d8b0a6fc5fda5744312a11632c7 | 109a8e7a3f83672919716a3332179ccc0577c8c9 | hybrid-array: add slice_as_chunks(_mut) methods, minor refactoring | As discussed [here](https://github.com/RustCrypto/traits/pull/1358#discussion_r1373973004) these functions will allow us to remove a bit of `unsafe` from downstream crates and it will be useful for users who would like to work with blocks of data. | diff --git a/hybrid-array/src/impls.rs b/hybrid-array/src/impls.rs
new file mode 100644
index 00000000..72cf3e31
--- /dev/null
+++ b/hybrid-array/src/impls.rs
@@ -0,0 +1,146 @@
+use super::{Array, ArrayOps, ArraySize, IntoArray};
+
+macro_rules! impl_array_size {
+ ($($len:expr => $ty:ident),+) => {
+ $(
+ ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The crate-level clippy::arithmetic_side_effects lint should be kept enabled, with the lint instead disabled at the individual function or operation level accompanied by a SAFETY-style comment explaining why overflow/underflow cannot occur.", "category": "design", "verdict": "supported", "priorit... | null |
RustPython__RustPython__5843 | RustPython/RustPython | 5,843 | defect | 0d492a6b02892a53d8ab78b50b0bd7eb37ab7857 | 13e33b6a358d0f34625425f8a04a87e7a56e90af | Fix stable clippy |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Style**
* Updated string formatting throughout the application to use modern named parameter syntax, improving code readability and consistency. No changes to functionality or output.
* **Chores**
* Refined er... | diff --git a/stdlib/src/array.rs b/stdlib/src/array.rs
index 688e42a75f5..a1a401943d4 100644
--- a/stdlib/src/array.rs
+++ b/stdlib/src/array.rs
@@ -601,7 +601,7 @@ mod array {
fn try_from(ch: WideChar) -> Result<Self, Self::Error> {
// safe because every configuration of bytes for the types we ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The error-message format strings for the missing __exit__ and __aexit__ methods keep an extra leading quote although error_string() already returns a message beginning with one, so the generated TypeError starts with two opening quotes and no closing one; the reviewer asks that the leading quote... | null |
RustPython__RustPython__5968 | RustPython/RustPython | 5,968 | defect | fd35c7a70634b78f85f2b3278f8da57b52ef6734 | a5291c5da429f1314fae47d276761261602fe570 | SetFunctionAttribute |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Introduced a new bytecode instruction for setting function attributes, enabling more granular and explicit function object creation.
* Added support for setting function attributes such as def... | diff --git a/Lib/test/test_funcattrs.py b/Lib/test/test_funcattrs.py
index 5fd268fd902..3d5378092b4 100644
--- a/Lib/test/test_funcattrs.py
+++ b/Lib/test/test_funcattrs.py
@@ -176,8 +176,6 @@ def test___name__(self):
self.assertEqual(self.fi.a.__name__, 'a')
self.cannot_set_attr(self.fi.a, "__name__"... | 7 | 1 | 0 | [{"id": "G0", "claim": "The unsafe block in execute_set_function_attribute casts a *const pointer to *mut and mutates through it, violating Rust's aliasing rules; the assumption that there are no other references to func is fragile (malicious or malformed bytecode, compiler bugs, future bytecode-generation changes) and... | null |
RustPython__RustPython__6278 | RustPython/RustPython | 6,278 | defect | 6991a80e13c06deaa7b4a0131fcfbf139621a465 | c0d426f7264dd34aefa024fce1b032aa5c145f8f | Fix wasm32-unknown-unknown target build | This pull request fixes `wasm32-unknown-unknown` target build in the following 2 points.
1. It discards wasm-bindgen dependency because it needs to provide `_wbg_xxx` functions through imports object to use WASM build output.
2. Adds `#[unsafe(no_mangle)]` line for `wasm/wasm-unknown-test/src/lib.rs` file because t... | diff --git a/Cargo.toml b/Cargo.toml
index 54e4f1b6429..5f8f7a5b555 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -162,7 +162,7 @@ ascii = "1.1"
bitflags = "2.9.4"
bstr = "1"
cfg-if = "1.0"
-chrono = "0.4.42"
+chrono = { version = "0.4.42", default-features = false, features = ["clock", "oldtime", "std"] }
constant_t... | 4 | 2 | 1 | [{"id": "G0", "claim": "The `wasmbind` feature definition references `chrono/wasmbind` while the workspace chrono configuration disables default features and only enables [\"clock\", \"oldtime\", \"std\"], so enabling the `wasmbind` feature will cause a build error; remove `chrono/wasmbind` from the feature definition.... | null |
RustPython__RustPython__6283 | RustPython/RustPython | 6,283 | defect | 916d3ba94be74e82427c378ab604b87ea5806f76 | 1a92d4f1dc6b8a77c0b40f43e2a981bedb22fde4 | Test wasm32 without js | Fix #6281
Thanks @valentynfaychuk and @moreal !
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Added a new example project demonstrating RustPython compiled to WebAssembly without JavaScript dependency.
* Included a sample WASM runtime ... | diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index fe45a1d71bb..70a21143be5 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -404,11 +404,12 @@ jobs:
with: { wabt-version: "1.0.36" }
- name: check wasm32-unknown without js
run: |
- cd wasm... | 11 | 3 | 2 | [{"id": "G0", "claim": "The CI step echoes its error message with `>2`, which creates a file named \"2\" instead of redirecting to stderr, and should use `>&2`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The README's build command omits `--tar... | null |
RustPython__RustPython__6755 | RustPython/RustPython | 6,755 | defect | 273c5a349b1b96f12ad923ac2989f07c7b43c491 | 0dbf142c06753ac560e095c512b6d25c7f3a5d1a | Py 3.14 changes fix | Apply reviews from #6718
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Improved PEP 649 conditional-annotation handling with per-scope tracking across control-flow to preserve annotation ordering.
* **Bug Fixes**
* Enforced forbidding of... | diff --git a/Lib/test/test_future_stmt/test_future.py b/Lib/test/test_future_stmt/test_future.py
index febd9fb095a..e57c7227cec 100644
--- a/Lib/test/test_future_stmt/test_future.py
+++ b/Lib/test/test_future_stmt/test_future.py
@@ -459,9 +459,6 @@ def test_infinity_numbers(self):
self.assertAnnotationEqual("(... | 7 | 3 | 2 | [{"id": "G0", "claim": "Comprehension and loop targets use ExpressionContext::Iter, which passes through check_name without validation, so __debug__ can be bound as an iteration target (e.g. 'for __debug__ in ...') where CPython raises SyntaxError.", "category": "correctness", "verdict": "supported", "priority": "P1", ... | null |
RustPython__RustPython__7187 | RustPython/RustPython | 7,187 | defect | e81a0fc765314296f4026db793c36080041fd43d | 5602e75c0a6d9b29c2baf4eccfc58c31799ed245 | Fix re.fullmatch POSSESSIVE_REPEAT | This PR implements the corrections for the POSSESSIVE_REPEAT i.e. "(x)++)" given in #7183.
3 tests in the file test_re.py (in Lib/test) failed for unexpected success
UNEXPECTED SUCCESS: test_bug_gh91616 (test.test_re.ReTests.test_bug_gh91616)
UNEXPECTED SUCCESS: test_fullmatch_atomic_grouping (test.test_re.Re... | diff --git a/Lib/test/test_re.py b/Lib/test/test_re.py
index b415c5907fa..9090e023164 100644
--- a/Lib/test/test_re.py
+++ b/Lib/test/test_re.py
@@ -2537,7 +2537,8 @@ def test_possessive_quantifiers(self):
self.assertIsNone(re.match("^x{}+$", "xxx"))
self.assertTrue(re.match("^x{}+$", "x{}"))
- @... | 4 | 4 | 2 | [{"id": "G0", "claim": "The misspelling \"herited\" in the three new engine.rs comments (lines 473, 501, 841) should be corrected to \"inherited\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The explicit `[[test]] name = \"tests\"` entry in cr... | null |
RustPython__RustPython__7358 | RustPython/RustPython | 7,358 | defect | 375b5472ed5781756e5eea2aba61af55ea477db4 | 571ac6bc492a4dc45e250edfbc6f9bdb0819155c | Newtype ConstIdx, Constants |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Refactor**
* Introduced a dedicated, typed constant index for safer, consistent constant lookups across compiler, bytecode, JIT, and VM.
* Replaced raw constant storage with a unified wrapper to standardize ac... | diff --git a/crates/codegen/src/compile.rs b/crates/codegen/src/compile.rs
index 6f7d8c15236..839377f97a0 100644
--- a/crates/codegen/src/compile.rs
+++ b/crates/codegen/src/compile.rs
@@ -29,7 +29,7 @@ use rustpython_compiler_core::{
self, AnyInstruction, Arg as OpArgMarker, BinaryOperator, BuildSliceArgCount... | 1 | 1 | 1 | [{"id": "G0", "claim": "In crates/jit/tests/common.rs the JIT test stack machine indexes the `constants` slice directly with `consti.get(arg)`, which returns `ConstIdx` that cannot index a slice, so the code will not compile; the reviewer asks to convert it with `.as_usize()` (or accept the typed constants wrapper end-... | null |
S4tvara__Sietch__19 | S4tvara/Sietch | 19 | defect | f498156012f8459ecf5fa553486d2dab9ee50ed6 | 197e9ec1b08dd32b040eb277665b50dc9ef6aaad | feat: fix ParseChunkSize function and add comprehensive deduplication… |
- Fix ParseChunkSize to properly handle units (KB, MB, GB, TB)
- Add deduplication configuration to vault initialization
- Update all tests to match new ParseChunkSize behavior
- Add comprehensive test coverage for size units and edge cases
- Ensure deduplication works correctly with proper size parsing
Fixes ... | diff --git a/cmd/dedup.go b/cmd/dedup.go
new file mode 100644
index 0000000..3d6995c
--- /dev/null
+++ b/cmd/dedup.go
@@ -0,0 +1,233 @@
+/*
+Copyright © 2025 SubstantialCattle5, nilaysharan.com
+*/
+package cmd
+
+import (
+ "fmt"
+
+ "github.com/spf13/cobra"
+
+ "github.com/substantialcattle5/sietch/internal/config"
+... | 3 | 1 | 1 | [{"id": "G0", "claim": "The pull request imports crypto/sha1, a weak cryptographic primitive that the security scanner blocklists.", "category": "security", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "CreateHasher returns sha1.New(), a weak cryptographic primitive, for the S... | null |
S4tvara__Sietch__44 | S4tvara/Sietch | 44 | defect | d58a755a67927eed38519e8fe4dc1c94f7d14a55 | c0e71cfc7a30905ff272ac0d06bebde9d9f44d18 | feat: implement centralized passphrase validation system | Closes #38
Add centralized passphrase validation
Fixes scattered weak validation across the app. Now passphrases need 12+ chars with proper character requirements and common password detection.
**Changes:**
- Upgraded min length: 8 → 12 chars
- Added character requirements (upper/lower/digits/symbols)
- Det... | diff --git a/internal/encryption/passphrase/prompt.go b/internal/encryption/passphrase/prompt.go
index fe304c5..9692bc8 100644
--- a/internal/encryption/passphrase/prompt.go
+++ b/internal/encryption/passphrase/prompt.go
@@ -6,6 +6,7 @@ import (
"github.com/manifoldco/promptui"
"github.com/substantialcattle5/siet... | 4 | 4 | 2 | [{"id": "G0", "claim": "The file internal/passphrase/validation.go should be forced to LF line endings and have a newline added at EOF.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The go.mod is missing the required packages (e.g. zxcvbn-go), ... | null |
SALib__SALib__326 | SALib/SALib | 326 | defect | 4e8a09ba85c56ef335fe236e6ebf44d3dae90eec | 049e72578077d0afdb7bccfd77982e954f43cb50 | Issue 325 | Hello.
I've made a few changes to `morris.py` to make it a little more readable, as I said in #325. As suggested by @willu47, I removed everything related to `gurobi.py`.
One point: in the function `_compute_optimised_trajectories` an error is raised if `local_optimization` is false and `k_choices > 10`. Shouldn'... | diff --git a/src/SALib/analyze/morris.py b/src/SALib/analyze/morris.py
index 6afd44f4..20f7ac96 100755
--- a/src/SALib/analyze/morris.py
+++ b/src/SALib/analyze/morris.py
@@ -7,7 +7,7 @@
from . import common_args
from ..util import read_param_file, compute_groups_matrix, ResultDict
-from ..sample.morris import comp... | 5 | 3 | 0 | [{"id": "G0", "claim": "Use `from typing import Dict` instead of the builtin `dict` in the type hints of the functions in morris.py.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Replace the while loop with a manual counter in _sample_morris wi... | null |
SALib__SALib__328 | SALib/SALib | 328 | defect | 1d18ec4e534c68a72f328dfc2388fbc7a1514aa3 | e403f430065fcb80b7699ab4a42f28983ba9dbc7 | Refactoring issue 327 | Hello, guys.
In this PR I propose modifications to the module `analyze/morris.py`, and also some modifications at modules affected by it.
Once you accept this PR, we can close #327. | diff --git a/src/SALib/analyze/morris.py b/src/SALib/analyze/morris.py
index 20f7ac96..6b96b899 100755
--- a/src/SALib/analyze/morris.py
+++ b/src/SALib/analyze/morris.py
@@ -2,20 +2,19 @@
from __future__ import print_function
from scipy.stats import norm
+from typing import Dict, List
import numpy as np
from... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new _compute_mu_star_confidence function should get a numpydoc docstring with a description and descriptions of its arguments for completeness.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Tests should be added for th... | null |
SALib__SALib__383 | SALib/SALib | 383 | defect | 3ad83bc1717d85ed604217859090d82aed965c19 | 9be8dc9fd21e0af4164c57516db203ee10e2a455 | Add truncated normal distribution | Hi,
First, thank you for this wonderful package!
I'm in a situation where I need to use truncated normal distributions as inputs for the model parameters.
Since the only place where these distributions really appear is in `SALib/util/__init__.py` inside the `_nonuniform_scale_samples()` method, I added it.
I al... | diff --git a/src/SALib/util/__init__.py b/src/SALib/util/__init__.py
index 8b318603..bf6ff5c3 100755
--- a/src/SALib/util/__init__.py
+++ b/src/SALib/util/__init__.py
@@ -129,6 +129,8 @@ def _nonuniform_scale_samples(params, bounds, dists):
location of peak is in percentage of width
... | 3 | 3 | 2 | [{"id": "G0", "claim": "The pull request includes no tests; at least an indicative test for latin hypercube sampling should be added to tests/test_util.py.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new test problem dict is missing the dists ent... | null |
SALib__SALib__416 | SALib/SALib | 416 | defect | 6765749fcbb1d63a45a1021ef8061701aa2dc33d | 3dc5afcc43c1028af3a6e9fc7777b1d0a4fea383 | Sobol sequence fix #414 | PR for Issue #414
@tupui - This PR raises a FutureWarning indicating that possible issues may arise in cases where the requirements are not met.
This is to allow older code to continue to function for now.
v1.4 onwards will instead raise a ValueError. | diff --git a/src/SALib/sample/finite_diff.py b/src/SALib/sample/finite_diff.py
index c1a44f72..daf5a589 100644
--- a/src/SALib/sample/finite_diff.py
+++ b/src/SALib/sample/finite_diff.py
@@ -36,7 +36,7 @@ def sample(problem, N, delta=0.01, seed=None):
bounds = problem['bounds']
# How many values of the So... | 5 | 4 | 1 | [{"id": "G0", "claim": "Apply the suggested RST markup to the docstring sentence so that ``D`` and ``N * (2D + 2)`` are rendered as literals.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Apply the suggested RST markup so the docstring reads '`ca... | null |
SALib__SALib__553 | SALib/SALib | 553 | defect | bbf0bfc42714f8704ca9ef9ed33c43306010ba80 | c7060cab2750ab160fd82634a50788afff6e023c | Add Regional Sensitivity Analysis | @tupui Available for a quick review?
```python
import numpy as np
from SALib.test_functions import Ishigami
from SALib import ProblemSpec
def linear(x, a, b):
"""Return y = a + b + x"""
return a + b + x
def wrapped_linear(abx):
a, b, x = abx.T
return linear(x, a, b)
sp = ProblemSp... | diff --git a/pyproject.toml b/pyproject.toml
index 147a5b2f..f97af208 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -34,7 +34,7 @@ dependencies = [
"numpy>=1.20.3",
"scipy>=1.7.3",
"matplotlib>=3.2.2",
- "pandas>=1.1.2",
+ "pandas>=1.2",
"multiprocess",
]
diff --git a/src/SALib/analyze/rsa.py b/s... | 7 | 4 | 0 | [{"id": "G0", "claim": "The blanket `warnings.simplefilter(\"ignore\")` should be replaced with `np.errstate` if the suppressed warnings are NumPy's warnings.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Consider accepting non-NumPy array inputs... | null |
SALib__SALib__563 | SALib/SALib | 563 | defect | e5cfb66e3a0879b21afbb427af5188fd661a838b | 0a42a60813ea6e73a35ce3ce27a306520bd97ab3 | Add discrepancy analysis | Add `SALib.analyze.discrepancy` which is the method described in https://arxiv.org/abs/2206.13470
Based on 2D sub projections of [Xi,Y], the discrepancy of each samples is calculated which gives a value for all Xi. This can be used as a sensitivity indice.
Opening this in draft to get early feedbacks on how to pr... | diff --git a/src/SALib/analyze/discrepancy.py b/src/SALib/analyze/discrepancy.py
new file mode 100644
index 00000000..3ee150bf
--- /dev/null
+++ b/src/SALib/analyze/discrepancy.py
@@ -0,0 +1,152 @@
+from typing import Dict
+
+import numpy as np
+from scipy.stats import qmc
+
+from SALib.analyze import common_args
+from... | 7 | 7 | 1 | [{"id": "G0", "claim": "Analyzing grouped factors should take the mean of the s_discrepancy values of the parameters in each group, as done for PAWN.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The docstring needs to be expanded to give an overview of... | null |
SALib__SALib__580 | SALib/SALib | 580 | defect | 4843f0ff46e4a07b6c65aee9dfffe53abac6f06d | b7654fa3122454d56a0a58eccc9164455bc8a569 | Scaled elementary effects - method of Morris | For the method of Morris calculations, @willu47 and I have added an additional calculation step based on [Sin and Gernaey (2009)](https://doi.org/10.1016/S1570-7946(09)70154-3) for scaling the elementary effect, allowing for comparison between different model outputs.
The default setting is to calculate the original... | diff --git a/src/SALib/analyze/morris.py b/src/SALib/analyze/morris.py
index 6173d608..d6869230 100755
--- a/src/SALib/analyze/morris.py
+++ b/src/SALib/analyze/morris.py
@@ -19,6 +19,7 @@ def analyze(
Y: np.ndarray,
num_resamples: int = 100,
conf_level: float = 0.95,
+ scaled=False,
print_to_con... | 10 | 10 | 1 | [{"id": "G0", "claim": "The new `scaled` parameter should carry a type hint, written `scaled: bool = False`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the `scaled==False` branch delta is computed a second time although `_compute_delta()`... | null |
SAML-Toolkits__java-saml__253 | SAML-Toolkits/java-saml | 253 | defect | bed44f360ba47be06e02262216b1ec2cafa3022c | 2886c715486a5832f819f7c34d37e74a4cb865ef | Expose validation exception in SamlResponse | Hi, we have a requirement in our product to take different actions based on the exact error with the SAML response (in our case, show the user different documentation pages on how they can fix the problem).
The best way I found to do this which doesn't rely on string matching was to expose the actual exception as in... | diff --git a/core/src/main/java/com/onelogin/saml2/authn/SamlResponse.java b/core/src/main/java/com/onelogin/saml2/authn/SamlResponse.java
index d65fe31d..7dbec93d 100644
--- a/core/src/main/java/com/onelogin/saml2/authn/SamlResponse.java
+++ b/core/src/main/java/com/onelogin/saml2/authn/SamlResponse.java
@@ -83,7 +83,... | 4 | 4 | 1 | [{"id": "G0", "claim": "The Javadoc of the new getValidationException method should say it returns the Exception object, not that it returns the cause.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "LogoutRequest and LogoutResponse may be updated ... | null |
SAML-Toolkits__java-saml__290 | SAML-Toolkits/java-saml | 290 | defect | 7b70cf3830ca446942a7c28b541dbc1a9275dfc4 | ca62eac7701fe4ba4f07fd549e538c5b9cf84d20 | Support for unwrapping key via an HSM when decrypting the SAML assertion. | This pull request addresses [#257](https://github.com/onelogin/java-saml/issues/257)
Currently, the library has no support for HSM integration, in particular when it comes to unwrap the key as part of the SAML decryption process.
Hence, this solution will support HSM key unwrapping by setting an HSM object as par... | diff --git a/.nvd-suppressions.xml b/.nvd-suppressions.xml
index da0ddd85..3af0cdfa 100644
--- a/.nvd-suppressions.xml
+++ b/.nvd-suppressions.xml
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.2.xsd">
-
</suppressions... | 3 | 2 | 0 | [{"id": "G0", "claim": "The Azure dependencies should not end up in users' artifacts, and if the HSM feature is relevant it would be better implemented as a separate module instead of in core.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new checkSPS... | null |
SAML-Toolkits__java-saml__61 | SAML-Toolkits/java-saml | 61 | defect | 525ba97337a9f1adcc4d29a4f6dbbfbc28532d08 | 64dba94929d472744e832155fdde76466beef15c | #60: allow retrieving the generated request ids | - Auth now has getLastLoginRequestId/getLastLogoutRequestId methods
that allow retrieving the id of the generated AuthnRequest/LogoutRequest
message to be used in response validation
| diff --git a/core/src/main/java/com/onelogin/saml2/Auth.java b/core/src/main/java/com/onelogin/saml2/Auth.java
index 7fbeaa5c..9a9c8e7f 100644
--- a/core/src/main/java/com/onelogin/saml2/Auth.java
+++ b/core/src/main/java/com/onelogin/saml2/Auth.java
@@ -37,6 +37,8 @@
* Defines the methods that you can invoke in your... | 2 | 2 | 0 | [{"id": "G0", "claim": "generateUniqueID relies on java.util.Random, which is not cryptographically secure, and on an overcomplicated Random-prefix-plus-SHA-1 construction whose hashing of a concatenated less-random value may increase collision likelihood; it should instead just return UNIQUE_ID_PREFIX + UUID.randomUUI... | null |
SAML-Toolkits__java-saml__66 | SAML-Toolkits/java-saml | 66 | defect | 13cab929ab9893ab15fc8da0540c9be49d07d0db | c28390b967a0957d77a39954a76a7551d2c4b832 | #63: Reject SubjectConfirmationData with no Recipient or NotOnOrAfter | - these MUST be contained in a Response and validated according to the
SAML profiles spec
- extracted a method to validate SubjectConfirmation in SamlResponse
- added a bit more specific error messages when validating
SubjectConfirmationData fails
- some test refactoring
| diff --git a/core/src/main/java/com/onelogin/saml2/authn/SamlResponse.java b/core/src/main/java/com/onelogin/saml2/authn/SamlResponse.java
index 0991eea0..0a2c9dec 100644
--- a/core/src/main/java/com/onelogin/saml2/authn/SamlResponse.java
+++ b/core/src/main/java/com/onelogin/saml2/authn/SamlResponse.java
@@ -15,6 +15,... | 1 | 1 | 0 | [{"id": "G0", "claim": "The rejected SubjectConfirmation messages should be made more verbose/readable, e.g. numbering issues from the second SubjectConfirmationData onward, and pitbulk was open to adding them if miszobi finds them useful.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "intr... | null |
SAML-Toolkits__java-saml__94 | SAML-Toolkits/java-saml | 94 | defect | 560d41d98d1f43e244d6bc6cbf5080d10eed53c4 | 14b1d78315ed166f253eecdd6f879a37a5c8d905 | Use raw url parameters in redirect signature validation | This patch implements the 'use original URL-encoded values it receives
on the query string' to verify the signature when http redirect is used.
We encountered this problem when integrating with Microsoft ADFS 2.0.
The server uses UPPERCASE in url encodings, this conflicts with the
lowercase url encoding used here... | diff --git a/core/src/main/java/com/onelogin/saml2/logout/LogoutRequest.java b/core/src/main/java/com/onelogin/saml2/logout/LogoutRequest.java
index 3e094a6c..abf54901 100644
--- a/core/src/main/java/com/onelogin/saml2/logout/LogoutRequest.java
+++ b/core/src/main/java/com/onelogin/saml2/logout/LogoutRequest.java
@@ -1... | 4 | 3 | 1 | [{"id": "G0", "claim": "The undecoded query string should be retrieved via a method on HttpRequest (consistent API, no extra constructor/parameter churn), and the signed-query construction duplicated in LogoutRequest and LogoutResponse should be extracted into a shared helper.", "category": "design", "verdict": "suppor... | null |
SAP__fundamental-ngx__12360 | SAP/fundamental-ngx | 12,360 | defect | 8b1e2a8fc769c503a226910d4bc19b9aa465fb91 | 468d500d15dd839c872268c02ec0ba36b84ace03 | feat(core): modal background styling | fixes #12210
| diff --git a/libs/core/popover/popover-service/popover.service.ts b/libs/core/popover/popover-service/popover.service.ts
index b59dca701a6..0fac880fe35 100644
--- a/libs/core/popover/popover-service/popover.service.ts
+++ b/libs/core/popover/popover-service/popover.service.ts
@@ -165,6 +165,7 @@ export class PopoverSer... | 7 | 5 | 3 | [{"id": "G0", "claim": "The example button labels should not read like camel-case property names — the third button's duplicated 'preventCloseOnEscapeKey & preventCloseOnEscapeKey' text should be corrected and the labels reworded to human-readable text such as 'Prevent Close on Escape Key and Prevent Close on Outside C... | null |
SAP__fundamental-ngx__12527 | SAP/fundamental-ngx | 12,527 | defect | a815780299c46b0450328b23025e7af3d986ac79 | 2ae56fb4d550e5b0ac5eebe2cc20e2df15aa92b6 | fix(core): input group should not fall back to glyph for button title | fixes #12396 | diff --git a/libs/core/input-group/input-group.component.html b/libs/core/input-group/input-group.component.html
index e9c787ad69d..d92bcb11c20 100644
--- a/libs/core/input-group/input-group.component.html
+++ b/libs/core/input-group/input-group.component.html
@@ -28,7 +28,7 @@
[fdType]="inShellbar... | 2 | 1 | 1 | [{"id": "G0", "claim": "Questioning how this fixes the Value Help Dialog issue: with the glyph fallback removed, if the user passes neither title nor aria-label for the icon, the add-on button will have no title attribute.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id... | null |
SAP__fundamental-ngx__13041 | SAP/fundamental-ngx | 13,041 | defect | 3225e4371c88a1ea36a021499b7fd5e24a74149a | 32174609b55b8c857c8f7e13aedd3f9041bc1bb4 | feat(core): user settings | ## Related Issue(s)
closes https://github.com/SAP/fundamental-ngx/issues/13042
## Description
adds new component in Core called Settings Dialog
| diff --git a/libs/core/content-density/services/content-density-observer.service.ts b/libs/core/content-density/services/content-density-observer.service.ts
index af459dd6b86..c52fb91ed37 100644
--- a/libs/core/content-density/services/content-density-observer.service.ts
+++ b/libs/core/content-density/services/content... | 3 | 3 | 2 | [{"id": "G0", "claim": "The locally added settings-dialog style overrides in dialog.component.scss should be removed before merge because the styles will come from fund-styles.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The text container in... | null |
SAP__fundamental-ngx__13448 | SAP/fundamental-ngx | 13,448 | defect | b5c7da42904bb556e4cc8dffc0a36f41296e9093 | f1ef4a973e3ab33639f2411c51f0f1c80604d0e8 | fix(core): message strip information is not read | ## Related Issue(s)
closes https://github.com/SAP/fundamental-ngx/issues/13229
## Description
When focus is on a closable message strip, JAWS used to only read the button text thus not providing enough information about the message strip type to disabled users. With this change:
- JAWS now reads hidden inform... | diff --git a/libs/core/message-strip/message-strip.component.html b/libs/core/message-strip/message-strip.component.html
index 91878743907..a96697a6082 100644
--- a/libs/core/message-strip/message-strip.component.html
+++ b/libs/core/message-strip/message-strip.component.html
@@ -1,25 +1,32 @@
-@if (shouldShowIcon) {
-... | 5 | 5 | 1 | [{"id": "G0", "claim": "The role and aria-labelledby should be placed directly on the host element instead of an extra div wrapper, and the ids should not use underscores (e.g. \"id + '-hidden-text ' + id + '-content-text'\").", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i... | null |
SAP__fundamental-ngx__13518 | SAP/fundamental-ngx | 13,518 | defect | 5f00e6a50fdfa819540c164a5da8a3a74c1a105d | c61a92ba52a22067e058a5842ad5592015e332d4 | fix(core): adopt latest changes for user menu | ## Description
- modifier classes for text truncation
- popover header on scroll when user name is no longer visible
- updated tests
- examples update
IMPORTANT: brought some CSS from fund-styles as we can't release fund-styles not and can't use the RC version
## Screenshots
User name is visible (no heading)
... | diff --git a/libs/core/list/directives/list-title.directive.spec.ts b/libs/core/list/directives/list-title.directive.spec.ts
index 097b114b74f..303cd6527da 100644
--- a/libs/core/list/directives/list-title.directive.spec.ts
+++ b/libs/core/list/directives/list-title.directive.spec.ts
@@ -1,20 +1,26 @@
import { Compone... | 1 | 1 | 1 | [{"id": "G0", "claim": "The wrap input's value has no actual effect on the text (the default behaviour is to wrap), so it should be deprecated.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SAP__fundamental-ngx__13529 | SAP/fundamental-ngx | 13,529 | defect | 5f60df88c981c4d3b986289b6d61690a7082a0b6 | 8363cd2fac3050de41b8fec6761a2da6bda8e8c6 | feat(core): adopt breaking changes for Object Number | ## Related Issue(s)
Part of https://github.com/SAP/fundamental-ngx/issues/13490
## Description
Adopts breaking changes coming from [Fundamental Styles](https://github.com/SAP/fundamental-styles/pull/6082) for `ObjectNumber`:
- Adds a screen reader text for the different states/statuses - `'negative' | 'critic... | diff --git a/libs/core/object-number/object-number.component.html b/libs/core/object-number/object-number.component.html
index 0e8ba9e0301..3a3ab73d334 100644
--- a/libs/core/object-number/object-number.component.html
+++ b/libs/core/object-number/object-number.component.html
@@ -1,4 +1,10 @@
-<span class="fd-object-nu... | 4 | 2 | 0 | [{"id": "G0", "claim": "With VoiceOver on Chrome, keyboard-navigating to the sr-only element draws its focus border in the wrong place, giving the appearance of highlighting the incorrect object status; InnaAtanasova asks for a fix via hiding the element on focus, clip-path styling, or a sibling element linked with ari... | null |
SAP__fundamental-ngx__13812 | SAP/fundamental-ngx | 13,812 | defect | cc98d14af6e9577b2da0beff3e3ab1e8e0962c20 | d6b7b5ba580a16d47244d3a5ce98a95464fa3add | fix(core): migrate Avatar to signals | ## Related Issue(s)
part of https://github.com/SAP/fundamental-ngx/issues/13741
## Description
- migration to signals
- code refactor for the internal functions
- tests refactor | diff --git a/libs/core/avatar/avatar.component.html b/libs/core/avatar/avatar.component.html
index 3a62374d0a5..ddf8b93a497 100644
--- a/libs/core/avatar/avatar.component.html
+++ b/libs/core/avatar/avatar.component.html
@@ -1,21 +1,21 @@
-@if (abbreviate) {
- {{ abbreviate }}
+@if (_abbreviate()) {
+ {{ _abbrevi... | 2 | 2 | 0 | [{"id": "G0", "claim": "The spec should drop the wrapping TestComponent and its ComponentFixture and test AvatarComponent directly through the avatarFixture that the PR added, since the wrapper is unused in all but the first test and removing it would simplify the unit tests.", "category": "testing", "verdict": "suppor... | null |
SAP__fundamental-ngx__13885 | SAP/fundamental-ngx | 13,885 | defect | 1b9a626b0c56963a6cf3e901493211f3baf591ec | 4ea305cfad67e40dbc755c764896acb59a5f59e9 | fix(core): update Generic Tag to signals | ## Related Issue(s)
part of https://github.com/SAP/fundamental-ngx/issues/13859
## Description
- migrates Generic Tag to signals
- updates unit tests
- improve documentation description | diff --git a/libs/core/generic-tag/generic-tag.component.html b/libs/core/generic-tag/generic-tag.component.html
index 19e53b39ccf..42931aea8a6 100644
--- a/libs/core/generic-tag/generic-tag.component.html
+++ b/libs/core/generic-tag/generic-tag.component.html
@@ -1,12 +1,7 @@
-@if (type) {
- <fd-icon
- class... | 1 | 1 | 1 | [{"id": "G0", "claim": "The migrated signal inputs should be typed `type = input<GenericTagType | null | undefined>()` and `name = input.required<string>()` instead of `input<GenericTagType>()` and `input.required<string | null | undefined>()`.", "category": "correctness", "verdict": "supported", "priority": "P1", "sco... | null |
SAP__fundamental-ngx__13914 | SAP/fundamental-ngx | 13,914 | defect | 6aabfb91a446d2f8e884fbfd14d358340c55bcde | 7eec3289b4a0aca28093c45366f155e53b952a3e | fix(cdk): signalify focusable list directive | ## Related Issue(s)
part of https://github.com/SAP/fundamental-ngx/issues/13856
## Description
This PR migrates the FocusableListDirective and related components to Angular Signals.
1. FocusableListDirective
Migrated @Input() properties to model() and input() signals
Migrated @Output() to output() signal... | diff --git a/libs/btp/navigation-menu/src/lib/navigation-menu.component.ts b/libs/btp/navigation-menu/src/lib/navigation-menu.component.ts
index abf4ba188c6..7e357c558a0 100644
--- a/libs/btp/navigation-menu/src/lib/navigation-menu.component.ts
+++ b/libs/btp/navigation-menu/src/lib/navigation-menu.component.ts
@@ -1,4... | 1 | 1 | 0 | [{"id": "G0", "claim": "The tabindex value should be made a computed signal and bound directly in the host binding rather than exposed through the _tabindex getter.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
SAP__fundamental-ngx__13928 | SAP/fundamental-ngx | 13,928 | defect | ffbec86a32ea31a1ce5a60d075b909dedfc45b16 | 7e15583601d766129f23d230e3e9c71fcf710b50 | fix(cdk): migrate DisabledBehaviorDirective to signals | ## Related Issue(s)
part of https://github.com/SAP/fundamental-ngx/issues/13856
## Description
### Migrates DisabledBehaviorDirective to signals
1. Replaced @Input() decorators with signal-based input() functions:
- fdkDisabled → fdkDisabledInput with { alias: 'fdkDisabled', transform: booleanAttribute }... | diff --git a/libs/cdk/utils/directives/disabled/disabled-behavior.directive.spec.ts b/libs/cdk/utils/directives/disabled/disabled-behavior.directive.spec.ts
new file mode 100644
index 00000000000..8d72f3819ff
--- /dev/null
+++ b/libs/cdk/utils/directives/disabled/disabled-behavior.directive.spec.ts
@@ -0,0 +1,280 @@
+i... | 1 | 1 | 1 | [{"id": "G0", "claim": "The `addDisabledClass` input in DisabledBehaviorDirective is missing the `transform: booleanAttribute` option.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SAP__fundamental-ngx__13932 | SAP/fundamental-ngx | 13,932 | defect | 123e6f4019e2446de3cabb57c4c5a191ecbe6030 | 4d70dc7e2bd74f13ace04f2175047931f8333792 | fix(core): fix avatar image loading | fix avatar image loading
fixes #13931 | diff --git a/libs/core/avatar/avatar.component.spec.ts b/libs/core/avatar/avatar.component.spec.ts
index 13f9c8953fd..4441eac2cee 100644
--- a/libs/core/avatar/avatar.component.spec.ts
+++ b/libs/core/avatar/avatar.component.spec.ts
@@ -1,4 +1,5 @@
-import { ComponentFixture, TestBed } from '@angular/core/testing';
+im... | 3 | 2 | 0 | [{"id": "G0", "claim": "The bgImage signal should be applied with a `'[style.background-image]': 'bgImage()'` host binding instead of the Renderer2 effect at lines 274-277, which unnecessarily triggers change detection, and the Renderer2 injection can then be removed.", "category": "design", "verdict": "supported", "pr... | null |
SAP__fundamental-ngx__13983 | SAP/fundamental-ngx | 13,983 | defect | e029bf007df4781c8b4f0730ea32c3e96b6ca454 | b91697946177f17be5a130849ca721c0d7e2cdd4 | fix(core): migrate TokenComponent to signals | ## Related Issue(s)
part of https://github.com/SAP/fundamental-ngx/issues/13859
## Description
BREAKING CHANGE:
Token component migrated to Angular signals - selected is now a model signal requiring .set()/() for access, view queries like tokenWrapperElement require function calls, output subscriptions return... | diff --git a/libs/core/token/token.component.html b/libs/core/token/token.component.html
index df2ff35e346..1faab7a001f 100644
--- a/libs/core/token/token.component.html
+++ b/libs/core/token/token.component.html
@@ -6,17 +6,17 @@
[attr.aria-roledescription]="('coreToken.ariaRoleDescription' | fdTranslate)()"
... | 4 | 3 | 1 | [{"id": "G0", "claim": "The new `disabled` input needs a transform so that boolean attribute-style bindings are coerced properly.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The internal `_selectedInput` should either be made private or drop the ... | null |
SAP__fundamental-ngx__13985 | SAP/fundamental-ngx | 13,985 | defect | e029bf007df4781c8b4f0730ea32c3e96b6ca454 | 13ae6af1dc76243c758444cfb9eb9f1bd042b6b7 | fix(platform): improvements to table popping row visuals | fixes #13970. Further improvements (misaligned primary and secondary title and description, some vertical lines in RTL mode) should be coming from fundamental-styles update
before:
<img width="503" height="584" alt="Screenshot 2026-03-18 at 1 40 04 PM" src="https://github.com/user-attachments/assets/38c29eed-82bd-4... | diff --git a/libs/docs/platform/table/examples/platform-table-responsive-columns-example.component.html b/libs/docs/platform/table/examples/platform-table-responsive-columns-example.component.html
index 4f1f3669636..394a45614f6 100644
--- a/libs/docs/platform/table/examples/platform-table-responsive-columns-example.com... | 2 | 2 | 0 | [{"id": "G0", "claim": "The RTL handling for the first cell's left border in the no-vertical-borders case can be simplified to a single `border-inline-start` declaration instead of an explicit `fd-rtl` override.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "clai... | null |
SAP__fundamental-ngx__14009 | SAP/fundamental-ngx | 14,009 | defect | eee19282633bd762f893bb16267e920b7ebec2a2 | 615d7349ec527383b7901751dccb5454c1b9339b | fix(core,platform): fix list item tabindex | ## Related Issue(s)
closes https://github.com/SAP/fundamental-ngx/issues/13990
## Description
**Problem:**
Pressing `shift + tab` would always take the user to the first item of the current list instead of a previous focusable element, eg. an item in a previous list. Upon pressing `shift+tab` again, it would ... | diff --git a/libs/core/list/list-focus-item.model.ts b/libs/core/list/list-focus-item.model.ts
index 4de1d653053..d11f6a70440 100644
--- a/libs/core/list/list-focus-item.model.ts
+++ b/libs/core/list/list-focus-item.model.ts
@@ -33,14 +33,14 @@ export abstract class ListFocusItem<T = any> implements KeyboardSupportItem... | 1 | 1 | 0 | [{"id": "G0", "claim": "The newly added signal `_isTabbable$` should drop the `$` suffix, since `$` is reserved for RxJS observables, not signals.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
SAP__fundamental-ngx__14055 | SAP/fundamental-ngx | 14,055 | defect | d678573593420328fbe8885060d12be9ea364a5f | b41888a846e2115bffe1bca8876382580e136192 | fix(core): add fix for flickering Inline Help | ## Description
**Problem**
When hovering near the edge of an inline-help trigger, the popover rapidly opens and closes (flickering). This happens because mouseleave fires on the trigger as the cursor moves into the popover body, causing an immediate close() → overlay disposed → cursor back over trigger → mouseenter →... | diff --git a/libs/core/inline-help/inline-help.directive.spec.ts b/libs/core/inline-help/inline-help.directive.spec.ts
index 8b7d568766e..3ff021fd5bf 100644
--- a/libs/core/inline-help/inline-help.directive.spec.ts
+++ b/libs/core/inline-help/inline-help.directive.spec.ts
@@ -1,5 +1,5 @@
import { Component, ElementRef... | 2 | 1 | 0 | [{"id": "G0", "claim": "Use the openAction and closeAction variables instead of hardcoded booleans in the hover-trigger toggle call.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It could be good to expose the delayed hover close as an input.",... | null |
SAP__fundamental-ngx__14058 | SAP/fundamental-ngx | 14,058 | defect | 010dd36327b2c4d81f1cb41e588dfc9a929726b5 | 90b8cd2c8dddfac7a76d5a5e5b2d77140c29c8c6 | feat(platform): bring scrollWholeRows platform table scrolling feature to main | fixes #13067 #13285 | diff --git a/libs/core/busy-indicator/busy-indicator.component.ts b/libs/core/busy-indicator/busy-indicator.component.ts
index 80c8d4eedd1..ba83c19d0d9 100644
--- a/libs/core/busy-indicator/busy-indicator.component.ts
+++ b/libs/core/busy-indicator/busy-indicator.component.ts
@@ -1,10 +1,14 @@
import { TAB } from '@an... | 9 | 8 | 2 | [{"id": "G0", "claim": "The preventWheelEvents input should be declared like the project's other boolean signal inputs — simply `input(false, { transform: booleanAttribute })` — and marked `readonly` since it is a signal.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"},... | null |
SAP__fundamental-ngx__14088 | SAP/fundamental-ngx | 14,088 | defect | 78e877fce9e2a2413981a7bdfb6c13db57d9efe0 | 5177e2b85f96a6cd0e0bab984e92527c260f2b55 | fix(core): fix avatar group accessibility | ## Related Issue(s)
closes https://github.com/SAP/fundamental-ngx/issues/13991
## Description
### Changes:
`fd-avatar-group` component
- Group Type
- Added `ariaLabel` input for the group type; falls back to a generated i18n label via `_defaultAriaLabelGroup` (computed from visible/hidden counts)
-... | diff --git a/libs/core/avatar-group/avatar-group.component.html b/libs/core/avatar-group/avatar-group.component.html
index c8711fad2fd..067b4899eb7 100644
--- a/libs/core/avatar-group/avatar-group.component.html
+++ b/libs/core/avatar-group/avatar-group.component.html
@@ -32,34 +32,46 @@
}
... | 5 | 1 | 0 | [{"id": "G0", "claim": "The keydown.enter/keydown.space click handlers this PR adds to the avatar group overflow button's host bindings should be removed.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The remaining @HostListener/@HostBinding co... | null |
SAP__fundamental-ngx__14109 | SAP/fundamental-ngx | 14,109 | defect | 84ac0e7c3a78ce3be6999b5dd1770f05bf431df7 | 12feac339bb5d4bdbeef95a8f86a03f3b245dfbd | fix(core): signalify panel components | ## Related Issue(s)
part of https://github.com/SAP/fundamental-ngx/issues/13860
## Description
### `PanelComponent` (`libs/core/panel/panel.component.ts`)
- Replaced all `@Input()` decorators with `input()` signal functions
- `expanded` replaced with `model(false)` — supports both one-way `[expanded]="..."... | diff --git a/libs/core/panel/panel-content/panel-content.directive.spec.ts b/libs/core/panel/panel-content/panel-content.directive.spec.ts
index 26eb8426ebe..544b5b7537c 100644
--- a/libs/core/panel/panel-content/panel-content.directive.spec.ts
+++ b/libs/core/panel/panel-content/panel-content.directive.spec.ts
@@ -1,1... | 2 | 2 | 0 | [{"id": "G0", "claim": "The pull request should get rid of the Nullable type usage in libs/core/panel/panel-content/panel-content.directive.ts.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should replace the Nullable type usag... | null |
SAP__fundamental-ngx__14155 | SAP/fundamental-ngx | 14,155 | defect | a797b6262da4f2bffb4ae4f56402261bd88147f7 | 4fe5b92312c82819a8d81efbfda3e2d78893653d | fix: adopt minor styles changes | ## Summary
Adopts CSS classes and modifiers from fundamental-styles that were missing or outdated in the Angular components
## Icon (`fd-icon`)
- **Added `sap-icon` base class** to `fdBuildIconClass` output — previously only the glyph modifier (`sap-icon--{name}`) was emitted, now the base class is included as... | diff --git a/libs/core/form/fieldset/fieldset.component.ts b/libs/core/form/fieldset/fieldset.component.ts
index 1b2e5ed7330..4fb4fa1d5ac 100644
--- a/libs/core/form/fieldset/fieldset.component.ts
+++ b/libs/core/form/fieldset/fieldset.component.ts
@@ -4,11 +4,11 @@ import { ChangeDetectionStrategy, Component, HostBind... | 11 | 9 | 1 | [{"id": "G0", "claim": "The examples newly added to the input docs page (disabled, unit description, stand-alone) duplicate coverage that already exists in the Input States with Messages section and add no benefit, and the compact example should be removed.", "category": "documentation", "verdict": "supported", "priori... | null |
SAP__fundamental-ngx__14218 | SAP/fundamental-ngx | 14,218 | defect | 96ebf898aef1d9ed3b0eb020f4f2f4d6be4945cf | 293392cd7c2e881854d634656ead3425fdfbaf45 | fix(core): forward scrollStrategy through fd-menu and fd-inline-help | forward scrollStrategy through fd-menu and fd-inline-help
fixes #14210
[config].scrollStrategy on <fd-menu> was silently dropped, and fd-inline-help had no scrollStrategy input at all. Wire both through to PopoverService so the CDK ScrollStrategy reaches OverlayConfig. Adds regression tests covering config + dire... | diff --git a/libs/core/inline-help/inline-help.directive.spec.ts b/libs/core/inline-help/inline-help.directive.spec.ts
index 02648d7fc71..fac7870b7ab 100644
--- a/libs/core/inline-help/inline-help.directive.spec.ts
+++ b/libs/core/inline-help/inline-help.directive.spec.ts
@@ -1,3 +1,4 @@
+import { Overlay, ScrollStrate... | 2 | 2 | 1 | [{"id": "G0", "claim": "The example's explanatory text references `closeScrollStrategy()`, which does not correspond to any real field, and should instead name the `closeOnScroll` binding the example actually uses.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "... | null |
SAP__fundamental-react__1083 | SAP/fundamental-react | 1,083 | defect | 22d5b6d81215c5f750734af1e46d6c30e0fb3f56 | 25f6295aea7edd0e8c683780418a193b7a63c74a | feat: weekdayStart for Calendar | ### Description
This is to add support for the Calendar component to be able to start on any day of the week. The new prop I'm suggesting would be `weekdayStart`. This prop would take in an integer with acceptable values of 0-6
```
weekdayStart = 0 // Sunday
weekdayStart = 1 // Monday
weekdayStart = 2 // ... | diff --git a/src/Calendar/Calendar.js b/src/Calendar/Calendar.js
index 4933cf575..9b6255cf1 100644
--- a/src/Calendar/Calendar.js
+++ b/src/Calendar/Calendar.js
@@ -501,15 +501,27 @@ class Calendar extends Component {
);
}
+ shiftDays = (startOnDay = 1, weekdays) => {
+ const _weekdays = [...w... | 2 | 2 | 1 | [{"id": "G0", "claim": "The adjustable weekdayStart knob should be part of the `dev` story instead, with the standalone story keeping a set value for demo purposes, since on the docs site the knob story just appears as a regular calendar.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "intro... | null |
SAP__fundamental-react__1134 | SAP/fundamental-react | 1,134 | defect | f8942579b4a87b8e1e73e5ee96a31ffe0bb0f896 | f366b61e653188fc5cbe8b07d0e89fe539dacaec | Fix: focusable disabled button | ### Description
- Remove `disabled` property and use `aria-disabled` instead
`aria-disabled` buttons are still clickable - ensure click/button press handler is removed
Consider using a style to disable clicks? `pointer-events: none;`
- Add `allowFocusOnDisabled` prop
If true, require an additional prop: two mess... | diff --git a/src/Button/Button.js b/src/Button/Button.js
index 890003437..8a9cecc2f 100644
--- a/src/Button/Button.js
+++ b/src/Button/Button.js
@@ -1,6 +1,7 @@
import classnames from 'classnames';
import PropTypes from 'prop-types';
import React from 'react';
+import shortId from '../utils/shortId';
import { BUTTO... | 4 | 2 | 0 | [{"id": "G0", "claim": "The disabled Emphasized Focusable button's focus outline is not visible, and the fundamental-styles examples should be updated to match those here.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The focus outline color on dis... | null |
SAP__fundamental-react__1181 | SAP/fundamental-react | 1,181 | defect | c5c3bc33b709e9c1e04f047fd4470f60d624b402 | f5e22984c4b1c73d26111b93c35041fb31e92427 | feat: validation class prop | ### Description
This is a necessary change for correct class names to be passed to the popper wrapping element and styles be correctly applied. This is linked to PR: https://github.concur.com/coreui/nui-widgets-lab/pull/124
Edit: replaced `validationOverlayProps` with `validationClassName` thereby leveraging the ex... | diff --git a/src/Forms/Checkbox.js b/src/Forms/Checkbox.js
index 4100b6af9..8bf5b12f0 100644
--- a/src/Forms/Checkbox.js
+++ b/src/Forms/Checkbox.js
@@ -30,6 +30,7 @@ const Checkbox = React.forwardRef(({
onChange,
value,
validationState,
+ validationOverlayProps,
...props
}, ref) => {
@@ -96,6... | 1 | 1 | 1 | [{"id": "G0", "claim": "Drop the new validationOverlayProps prop and leverage FormValidationOverlay's existing className mechanism instead, passing the class as validationClassName/className from Checkbox and removing validationOverlayProps from the component signature, the classnames call and the PropTypes.", "categor... | null |
SAP__fundamental-react__1183 | SAP/fundamental-react | 1,183 | defect | 250d75ec9832ef0bafc7d3c180cc8536d107fbd5 | a1f0f52acc31cee4e92c7423a641e49f0d689390 | feat: normalize FormValidationOverlay usage in other components | ### Description
1. added unit tests for FormValidationOverlay
1. consistent apply new prop `validationOverlayProps` to all components that consume `FormValidationOverlay`: `Checkbox`, `FormInput`, `FormTextArea`, `Select`, `InputGroup`, `SearchInput`, `Select`, `StepInput`
1. unit tests for `validationOverlayProp... | diff --git a/src/Forms/Checkbox.js b/src/Forms/Checkbox.js
index 4b7096123..7fcacbc3f 100644
--- a/src/Forms/Checkbox.js
+++ b/src/Forms/Checkbox.js
@@ -29,7 +29,7 @@ const Checkbox = React.forwardRef(({
name,
onChange,
value,
- validationClassName,
+ validationOverlayProps,
validationState,
... | 3 | 2 | 2 | [{"id": "G0", "claim": "Moving the `validationClassName` prop to `validationOverlayProps.className` in Checkbox should be listed as a breaking change as well.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Consider mocking react-dom's createPortal... | null |
SAP__fundamental-react__1242 | SAP/fundamental-react | 1,242 | defect | f803376c09e964a43f6efd814401b39463b791b9 | 219c512defa142878d3648e8f2cd63d43776660c | feat: new innerRefClassName prop as part of validationOverlayProps | ### Description
This is useful for passing an additional class from nui-widgets to the wrapper div inside popper. | diff --git a/src/Select/Select.test.js b/src/Select/Select.test.js
index 8aea8d235..614e2e679 100644
--- a/src/Select/Select.test.js
+++ b/src/Select/Select.test.js
@@ -72,6 +72,16 @@ describe('<Select />', () => {
element.find('.fd-popover').at(1).getDOMNode().attributes['data-sample'].value
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The `innerRefClassName` class should be a separate prop instead of being nested under `popperProps`, which is documented as popper.js options.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SAP__fundamental-react__205 | SAP/fundamental-react | 205 | defect | c5b6c4f9baea9182eebe621d088659056241811e | 657231cc201d76dbeeaa8276da102bece452d5f6 | fix: eslint no unused vars | Enabled the `no-unused-vars` eslint rule and fixed lint errors.
https://github.com/SAP/fundamental-react/issues/169 | diff --git a/.eslintrc b/.eslintrc
index 83c2fcb53..e703104ba 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -107,7 +107,7 @@ rules:
#no-undefined: 2
no-underscore-dangle: 0
no-unreachable: 2
- #no-unused-vars: [2, { ignoreRestSiblings: true }]
+ no-unused-vars: [2, { ignoreRestSiblings: true }]
qu... | 2 | 1 | 1 | [{"id": "G0", "claim": "The two MultiInput tests are skipped with `xtest`, leaving their snapshot assertions unexecuted, and the reviewer asks why they were x-ed out.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Shellbar test variables the pull re... | null |
SAP__fundamental-react__219 | SAP/fundamental-react | 219 | defect | 00d5fd7b67061026655684ca4727e4a1111835ca | 6ce3ae0f2e15fecb934c6aefa49b4aa226755f20 | fix: update prop spreading for ActionBar | Adds additional props to enable spreading into button, h1 and p elements. | diff --git a/src/ActionBar/ActionBar.js b/src/ActionBar/ActionBar.js
index f0ed5c777..ad50d7c65 100644
--- a/src/ActionBar/ActionBar.js
+++ b/src/ActionBar/ActionBar.js
@@ -22,25 +22,32 @@ ActionBar.propTypes = {
width: PropTypes.string
};
-export const ActionBarBack = ({ onClick, className, ...props }) => {
+e... | 1 | 1 | 1 | [{"id": "G0", "claim": "The prop spread should occur first and the hard-coded props after, so that consumers cannot override the component's required prop values.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SAP__fundamental-react__221 | SAP/fundamental-react | 221 | defect | 00d5fd7b67061026655684ca4727e4a1111835ca | ceb47c4da6628293757d28cc97be0ea2dd39e338 | fix: prop spreading to elements in Alert | Adds props for button and link additional props, enables tests | diff --git a/src/Alert/Alert.js b/src/Alert/Alert.js
index 7d25565e3..3a91f4cad 100644
--- a/src/Alert/Alert.js
+++ b/src/Alert/Alert.js
@@ -17,8 +17,10 @@ export class Alert extends Component {
render() {
const {
+ buttonProps,
type,
link,
+ linkProps,
lin... | 1 | 1 | 1 | [{"id": "G0", "claim": "The prop spreads should occur before the hard-coded props on the close button and anchor so consumers cannot override required prop values, leveraging classnames to let consumers add classes.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SAP__fundamental-react__233 | SAP/fundamental-react | 233 | defect | 31b0edd03dfb2e53f93aa02a6d5e6838b7c289e6 | 6fb532144265d4f38b0a2c2dad0177c89619e931 | fix: Prop spreading for Time | - Spread props to Time's elements
- Update unit tests
- Update docs | diff --git a/src/Time/Time.Component.js b/src/Time/Time.Component.js
index 9464f2750..2169d6bc9 100644
--- a/src/Time/Time.Component.js
+++ b/src/Time/Time.Component.js
@@ -49,6 +49,54 @@ export const TimeComponent = () => {
name: 'time',
description:
... | 4 | 4 | 4 | [{"id": "G0", "claim": "The description of hoursUpButtonProps should say \"hours up button\" instead of \"hours down button\".", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The description of minutesUpButtonProps should say \"minutes up button\" ... | null |
SAP__fundamental-react__235 | SAP/fundamental-react | 235 | defect | 31b0edd03dfb2e53f93aa02a6d5e6838b7c289e6 | a49f50b514ba9179db87eab2ccc5d0a5589ca91b | fix: rename dismissable to dismissible in Alert component | Fixes https://github.com/SAP/fundamental-react/issues/234 | diff --git a/src/Alert/Alert.Component.js b/src/Alert/Alert.Component.js
index 44009d481..803b973a8 100644
--- a/src/Alert/Alert.Component.js
+++ b/src/Alert/Alert.Component.js
@@ -3,28 +3,28 @@ import { Alert, Icon } from '../';
import { Description, DocsText, DocsTile, Header, Import, Playground, Properties, Separat... | 1 | 1 | 1 | [{"id": "G0", "claim": "Two references to the misspelled `dismissable` remain in `Playground.js` and should be corrected to `dismissible`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SAP__fundamental-react__237 | SAP/fundamental-react | 237 | defect | 31b0edd03dfb2e53f93aa02a6d5e6838b7c289e6 | 7f77ca2d1f431a280595b83e2a97c3f03fc9ba49 | fix: update doc, add pagination spread props | include displayTotalProps and linkProps in the documentation for Pagination component | diff --git a/src/Pagination/Pagination.Component.js b/src/Pagination/Pagination.Component.js
index f3cde8935..c9def2dbb 100644
--- a/src/Pagination/Pagination.Component.js
+++ b/src/Pagination/Pagination.Component.js
@@ -45,6 +45,21 @@ export const PaginationComponent = () => {
description:
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The pagination should use two separate props (prevProps and nextProps) for the \"previous\" and \"next\" links rather than a single shared linkProps.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SAP__fundamental-react__287 | SAP/fundamental-react | 287 | defect | 370325509cfea75d5277b96fe99dbe982e444158 | e8004f3041c05db4625a6975ed1fbb563ad2ca94 | feat: move explicit prop types into constants file | Fixes https://github.com/SAP/fundamental-react/issues/269 | diff --git a/src/Alert/Alert.js b/src/Alert/Alert.js
index ed8859dfd..d9412cfb3 100644
--- a/src/Alert/Alert.js
+++ b/src/Alert/Alert.js
@@ -1,3 +1,4 @@
+import {ALERT_TYPES} from '../utils/constants';
import classnames from 'classnames';
import PropTypes from 'prop-types';
import React, { Component } from 'react';
... | 7 | 6 | 1 | [{"id": "G0", "claim": "The constants used for Tile's column and row spans should carry Tile-specific names (e.g. TILE_GRID_COLUMNS / TILE_ROW_SPAN) instead of the generic GRID_COLUMNS / GRID_ROWS.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "rowSpan s... | null |
SAP__fundamental-react__293 | SAP/fundamental-react | 293 | defect | 00b439b73654e3436fe6c0f1e88b303f2fdc4333 | d6efe1b10ef091614659fac1cc2800cdcf93c42b | feat: Remove React Router from Menu | ### Description
In order to remove the dependency on React Router from Fundamentals-React (#115), we must refactor the the following components...
- Breadcrumb (#294)
- Menu (#293)
- Tabs (Coming Soon)
- SideNavigation (Coming Soon)
This PR is focused on **Menu** and does introduce breaking changes such as...... | diff --git a/src/Menu/Menu.Component.js b/src/Menu/Menu.Component.js
index 04a810c0f..8ee6eeacc 100644
--- a/src/Menu/Menu.Component.js
+++ b/src/Menu/Menu.Component.js
@@ -1,3 +1,4 @@
+import { Link } from 'react-router-dom';
import React from 'react';
import { Description, DocsText, DocsTile, Header, Import, Proper... | 3 | 2 | 0 | [{"id": "G0", "claim": "If PR #291 is merged first, the new `children` prop description added in the docs will need to be moved into the new object format.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The urlProps-with-Link test and the next url... | null |
SAP__fundamental-react__294 | SAP/fundamental-react | 294 | defect | ab8d19d846c4b230a20e58f5c4db81d47941188c | aeda69d7b293effd42feaca66cb0d496b45d694d | feat: Remove React Router from Breadcrumbs | ### Description
In order to remove the dependency on React Router from Fundamentals-React (#115), we must refactor the the following components...
- Breadcrumb (#294)
- Menu (#293)
- Tabs (Coming Soon)
- SideNavigation (Coming Soon)
This PR is focused on **Menu** and does introduce breaking changes such as...... | diff --git a/src/Breadcrumb/Breadcrumb.Component.js b/src/Breadcrumb/Breadcrumb.Component.js
index 0e9b7a567..750defddd 100644
--- a/src/Breadcrumb/Breadcrumb.Component.js
+++ b/src/Breadcrumb/Breadcrumb.Component.js
@@ -1,18 +1,25 @@
+import { Link } from 'react-router-dom';
import React from 'react';
import { Bread... | 4 | 3 | 0 | [{"id": "G0", "claim": "Spread the props first and then the other props on the breadcrumb <li>, per the team's convention.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `link` prop is no longer used now that react-router support is removed ... | null |
SAP__fundamental-react__319 | SAP/fundamental-react | 319 | defect | 7ca9b7416e55a9af63c3ccc90aa1e38eede22d8a | 50fd72968c427f2c5cb192b7a1c1908a93405819 | fix: refine toggle component | ### Description
The Toggle component was missing an `onChange` callback that was needed for work on #300.
Toggle was also changed from an uncontrolled element to controlled element, this was also fixed here. Checked prop was previously being spread to the wrong component (the parent div).
Added tests and upda... | diff --git a/package-lock.json b/package-lock.json
index 5b8977530..c96161387 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1017,6 +1017,35 @@
"integrity": "sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==",
"dev": true
},
+ "@sinonjs/com... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new tests should use jest's built-in jest.fn() instead of adding sinon as a dependency.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
SAP__fundamental-react__336 | SAP/fundamental-react | 336 | defect | 175cb3641a45486ff139ef03a492deddd951ed08 | 52a3804f0bb5919fd55a1f0105a8e06569d1ac95 | fix: Refactor tabs to remove React-Router dependency | ### Description
In order to remove the dependency on React Router from Fundamentals-React (#115), we must refactor the the following components...
- Breadcrumb (#294)
- Menu (#293)
- Tabs (#336)
- SideNavigation (Coming Soon)
This PR is focused on **Tab** and does introduce breaking changes such as...
- Re... | diff --git a/src/Tabs/Tabs.Component.js b/src/Tabs/Tabs.Component.js
index e162cc471..621af772d 100644
--- a/src/Tabs/Tabs.Component.js
+++ b/src/Tabs/Tabs.Component.js
@@ -1,15 +1,91 @@
import React from 'react';
import { Description, DocsText, DocsTile, Header, Import, Playground, Properties, Separator } from '../_... | 16 | 15 | 2 | [{"id": "G0", "claim": "The parent container component should be renamed from TabComponent to something like TabGroup, without the word \"component\" in it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The TODO comment on the cloneElement bran... | null |
SAP__fundamental-react__363 | SAP/fundamental-react | 363 | defect | 07c2931b3e614ee72f5d0856f6a8e39a664f4246 | 34151a8387cf0e7eb464ecdebf40eae53a48fe5b | fix: update currentYear on date selection | ### Description
Set the currentYear value to the selected date object.
fixes #357 | diff --git a/src/Calendar/Calendar.js b/src/Calendar/Calendar.js
index cdcec9315..04fc82ed6 100644
--- a/src/Calendar/Calendar.js
+++ b/src/Calendar/Calendar.js
@@ -139,6 +139,7 @@ export class Calendar extends Component {
if (!this.props.enableRangeSelection) {
this.setState({
cu... | 1 | 1 | 0 | [{"id": "G0", "claim": "It seems strange that the three state variables (currentDateDisplayed, currentYear, selectedDate) are all being set to the same value; they should either be set to different values or the code that depends on them should reference a single stored value.", "category": "design", "verdict": "suppor... | null |
SAP__fundamental-react__405 | SAP/fundamental-react | 405 | defect | 7426339f551b5bbf18018bdb7e4f2c79b8bd5b10 | 20ed9760c242c70a0389f9cb8f99f6b6340b02a1 | Refactor FormRadio Component | ### Description
Initial pass at the refactor of `FormRadio` into `FormRadioGroup` and the initial creation of `FormRadioItem`. This fixes #247 .
A few things to note...
- Snapshots have HTML changed significantly as Fundamental's only nests `input` inside of `label`.
- State has been removed from `FormRadioGr... | diff --git a/package-lock.json b/package-lock.json
index 8050a6393..c77f65fc3 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1092,6 +1092,35 @@
"integrity": "sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==",
"dev": true
},
+ "@sinonjs/com... | 10 | 8 | 0 | [{"id": "G0", "claim": "The tests should use jest.fn() instead of sinon, which does essentially the same thing.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The disabled propagation can be simplified to `disabled: child.props.disabled || disabled`.", ... | null |
SAP__fundamental-react__414 | SAP/fundamental-react | 414 | defect | 30791c35fe49c3828f979ae70deafbe375c15a59 | 7b8d7294a65faf57c22d54ebc5bf866aa5d0cd80 | fix: tabs component refactor | ### Description
This is a complete refactor of the Tabs component which replaces the single file that contained both the **TabGroup** and **Tab** components with separate files for each component. This PR also adds a new component, **TabContent**, which is used to display the content of a tab. Each component resides i... | diff --git a/src/Tabs/Tab.js b/src/Tabs/Tab.js
new file mode 100644
index 000000000..ef3eb0028
--- /dev/null
+++ b/src/Tabs/Tab.js
@@ -0,0 +1,50 @@
+import classnames from 'classnames';
+import PropTypes from 'prop-types';
+import React from 'react';
+
+export const Tab = (props) => {
+ const { title, className, dis... | 13 | 13 | 12 | [{"id": "G0", "claim": "TabContent should be a private/internal component per the team's pattern: an underscore-prefixed file, encapsulated in the parent, and not exported from index.js.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The tabLinkProps pro... | null |
SAP__fundamental-react__415 | SAP/fundamental-react | 415 | defect | c92ac3420b8a1007cab8c425a5e4e673132bf7e4 | 4bb2f57af9b66de9f6d58666bd17a06d4eef736e | fix: InputGroup now can accept custom classNames | ### Description
InputGroups now accept custom classNames
fixes: #408 | diff --git a/src/InputGroup/InputGroup.js b/src/InputGroup/InputGroup.js
index 4635fec69..95051256f 100644
--- a/src/InputGroup/InputGroup.js
+++ b/src/InputGroup/InputGroup.js
@@ -69,6 +69,7 @@ export class InputGroup extends Component {
searchButtonProps,
addonPos,
addon,
+ ... | 2 | 2 | 2 | [{"id": "G0", "claim": "The pull request adds custom-className behaviour to InputGroup with no unit test; the reviewer asks that a unit test be added for it.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The new props introduced by the pull request (cl... | null |
SAP__fundamental-react__432 | SAP/fundamental-react | 432 | defect | 641640fcb7b6ce62ff5a7f4c8169554a061a48d2 | 95f28b412ddccb273705540bcb830b56e0bc9b34 | fix: CORUI-6264: One component per file ListGroup | ### Description
* Separated all components in the `ListGroup` directory into their own files.
* Maintained all git history.
`ListGroupItem`, `ListGroupItemActions` and `ListGroupItemCheckbox` have been moved to subcomponents of `ListGroup`. | diff --git a/src/ListGroup/ListGroup.Component.js b/src/ListGroup/ListGroup.Component.js
index a9f22e547..ec82f622b 100644
--- a/src/ListGroup/ListGroup.Component.js
+++ b/src/ListGroup/ListGroup.Component.js
@@ -1,7 +1,7 @@
/* eslint-disable jsx-a11y/anchor-is-valid */
import path from 'path';
import React from 're... | 1 | 1 | 0 | [{"id": "G0", "claim": "ListGroupItem should not be exported as a standalone module; it and its statics should instead be attached as statics at the ListGroup level, since it is never used outside a list group.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
SAP__fundamental-react__442 | SAP/fundamental-react | 442 | defect | b5018e53db8f2c8ba64a889887b672b707273e54 | d55edfaa0710700308449793defbfba004268030 | fix: One component per file for SideNav | ### Description
Splitting all the `SideNav` subcomponents into their own files.
| diff --git a/src/SideNavigation/SideNavigation.Component.js b/src/SideNavigation/SideNavigation.Component.js
index 634cd6b14..3ad77e760 100644
--- a/src/SideNavigation/SideNavigation.Component.js
+++ b/src/SideNavigation/SideNavigation.Component.js
@@ -1,228 +1,228 @@
import path from 'path';
import React from 'react... | 1 | 1 | 0 | [{"id": "G0", "claim": "The file names should be made consistent with the component name — the reviewer suggests renaming the files to `SideNav` (possibly keeping the directory `SideNavigation`) to match the `SideNav` component.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introd... | null |
SAP__fundamental-react__463 | SAP/fundamental-react | 463 | defect | 6f064059ac2100a5f50c4184b6ea881d83afdc48 | e68978a46b7d3471dc21e61a3234e2cfeb95c383 | fix: update FormInput state prop description | ### Description
State prop description update was missed in https://github.com/SAP/fundamental-react/pull/453
These are now pulled from the Proptypes OneOf list.
Removed disabled, readOnly and help from state prop constant.
`readOnly` and `disabled` did not work as described (`state='disabled' or state='rea... | diff --git a/src/Forms/FormInput.js b/src/Forms/FormInput.js
index 94eeb2f78..1fb4de652 100644
--- a/src/Forms/FormInput.js
+++ b/src/Forms/FormInput.js
@@ -23,11 +23,13 @@ FormInput.displayName = 'FormInput';
FormInput.propTypes = {
className: PropTypes.string,
+ disabled: PropTypes.bool,
+ readOnly: Pro... | 2 | 2 | 1 | [{"id": "G0", "claim": "The description and example label renamed 'Default' to 'Normal' should not call the default state 'Normal' — default is simply an unexpressed type, so it should stay 'Default' or read 'Input (no state)'.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"... | null |
SAP__fundamental-react__497 | SAP/fundamental-react | 497 | defect | 981fef369b75301b708468f7275afeb45433d82e | a8f35acb4db1aedc6bd7985730ec73c86c6a7582 | fix: make all heading elements customizable | ### Description
`<h1>` headings were used in following components:
* ActionBar
* MegaMenu (Deprecated - does not exist in FR)
* Menu
* Modal
* Panel
* SideNavigation
* Tile
* ProductTile
* Default header is now `<h3>` with the option to customize using `<h2>`-`<h6>`
*... | diff --git a/src/ActionBar/ActionBar.test.js b/src/ActionBar/ActionBar.test.js
index d2d1d73bd..819df1cca 100644
--- a/src/ActionBar/ActionBar.test.js
+++ b/src/ActionBar/ActionBar.test.js
@@ -74,6 +74,20 @@ describe('<ActionBar />', () => {
expect(tree).toMatchSnapshot();
});
+ describe('ActionBar H... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new `level` prop should be renamed to `headingLevel` (or a similar explicit name) instead of the bare `level`, across ActionBar, Menu, Modal, Panel, SideNavigation and the prop documentation.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
SAP__fundamental-react__519 | SAP/fundamental-react | 519 | defect | e305e3819b9274ed653a61f445d64fc9b7fdd145 | dd31c0176cbb5d94faa76a600fa8077ff40b5c95 | Fix: Add Callbacks to Alert and Modal | ### Description
Added Callback and Test to Alert
Added propDescriptions and propDefault to existing callback for Modal
fixes #issueid | diff --git a/src/Alert/Alert.js b/src/Alert/Alert.js
index aac1e9e24..0503e9bfe 100644
--- a/src/Alert/Alert.js
+++ b/src/Alert/Alert.js
@@ -12,14 +12,18 @@ class Alert extends Component {
};
}
- closeAlertHandler = () => {
+ closeAlertHandler = (e) => {
this.setState({
isAct... | 2 | 2 | 0 | [{"id": "G0", "claim": "Modal's newly documented close callback should be renamed to `onCloseClicked` so all components' callback names match.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The stray `onClick` destructured in Alert's render is u... | null |
SAP__fundamental-react__536 | SAP/fundamental-react | 536 | defect | 45b9e8894594cf52f20cf20d5b4845fae50c295e | 5b8a4cdf3275d4c029eed75d480d0f26c17bd747 | Chore: Split Panel testing | ### Description
_Component_: Panel
* Added additional test files for PanelAction, PanelBody, PanelFilters, PanelHead, PanelHeader, and rearranged tests accordingly.
Part of #429 | diff --git a/scripts/testScripts.sh b/scripts/testScripts.sh
new file mode 100755
index 000000000..b4db17608
--- /dev/null
+++ b/scripts/testScripts.sh
@@ -0,0 +1,115 @@
+#!/bin/bash
+
+# Check for help flag
+for arg in "$@"
+do
+ if [ "$arg" == "--help" ] || [ "$arg" == "-h" ]
+ then
+ echo Ex: gitcp orig... | 6 | 6 | 0 | [{"id": "G0", "claim": "The utility script scripts/testScripts.sh should not be checked into the repository.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The utility script scripts/testingScripts.sh should not be checked into the repository.",... | null |
SAP__fundamental-react__537 | SAP/fundamental-react | 537 | defect | 45b9e8894594cf52f20cf20d5b4845fae50c295e | 13a7fd2543163e39e4185035aa5d9be6d4338099 | Chore: Split side nav tests | ### Description
_Component_: SideNav
* Added additional test files for SideNavList and rearranged tests accordingly.
Part of #429 | diff --git a/src/SideNavigation/SideNav.test.js b/src/SideNavigation/SideNav.test.js
index f7b9e9979..02ce33d3a 100644
--- a/src/SideNavigation/SideNav.test.js
+++ b/src/SideNavigation/SideNav.test.js
@@ -326,16 +326,6 @@ describe('<SideNav />', () => {
expect(wrapper.state('selectedId')).toEqual('subitem_25')... | 4 | 2 | 1 | [{"id": "G0", "claim": "The pull request title should use a `chore:` prefix, since nothing in the distributed package is altered.", "category": "process", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `Fixes #___` notation in the pull request description may cause GitHub t... | null |
SAP__fundamental-react__539 | SAP/fundamental-react | 539 | defect | 45b9e8894594cf52f20cf20d5b4845fae50c295e | 15e8a43e0a39c98f6eb9a91f17ca4d6b8fe8bb2f | Chore: Split time tests | ### Description
_Component_: TimeItem
* Added additional test files for TimeItem and rearranged tests accordingly.
Part of #429 | diff --git a/src/Time/Time.test.js b/src/Time/Time.test.js
index 474c3ea87..90f828eee 100644
--- a/src/Time/Time.test.js
+++ b/src/Time/Time.test.js
@@ -671,176 +671,5 @@ describe('<Time />', () => {
element.getDOMNode().attributes['data-sample'].value
).toBe('Sample');
});
-
- ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new test file's top-level `describe` should reference `TimeItem` rather than 'Time Item Prop spreading', with the prop-spreading tests grouped under their own `describe` block for better test organization.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduce... | null |
SAP__fundamental-react__712 | SAP/fundamental-react | 712 | defect | 49b1adf0dad823903407bbe98b5efb6299e9d8a3 | 79329974b8b19cab436b2c9f9697876231eabd37 | fix: CORUI-6949: add onBlur callback to DatePicker | ### Description
Without doing a full rewrite at the moment, this is as close to a functional callback as we can get. Tests were a nightmare, so I decided to forgo them for this bandaid.
This behaves slightly erratically as the input is not wired up to the calendar/sharing validation.
Known bugs: Changes to t... | diff --git a/src/DatePicker/DatePicker.js b/src/DatePicker/DatePicker.js
index 546403527..7791244b8 100644
--- a/src/DatePicker/DatePicker.js
+++ b/src/DatePicker/DatePicker.js
@@ -207,12 +207,17 @@ class DatePicker extends Component {
clickOutside = () => {
this.validateDates();
- this.setState(... | 2 | 2 | 0 | [{"id": "G0", "claim": "The inline arrow function passed to the input's onBlur should be written as a separate function on the component and referenced as onBlur={this._handleBlur}, because the inline form creates a new function instance on every render.", "category": "performance", "verdict": "supported", "priority": ... | null |
SAP__fundamental-react__870 | SAP/fundamental-react | 870 | defect | c346a179e06450ec0f1aa0adc3641fcdf790bd77 | eff6bf5f239d48c7cfe891d49cd03cddf9424b50 | fix: Implemented onChange method for TimePicker component to get selected time |
### Description
The TimePicker component does not have a way in which we can get the selected time. It should have an onChange method implemented that can be leveraged to get the selected time.
fixes #857 | diff --git a/src/TimePicker/TimePicker.js b/src/TimePicker/TimePicker.js
index a43751c12..c5638b61b 100644
--- a/src/TimePicker/TimePicker.js
+++ b/src/TimePicker/TimePicker.js
@@ -47,6 +47,10 @@ class TimePicker extends Component {
onChange = time => {
this.setState(() => {
let value = time ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a unit test to confirm the onChange callback works.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SAP__fundamental-react__914 | SAP/fundamental-react | 914 | defect | d05a4fae65b24e862d94fccaa3ddf8b56003ba3f | 9d86f33decaacfba00a8bfb19b876f00ba94b665 | feat:Added StepInput component | ### Description
Added Step input component for numbers.
fixes #768 | diff --git a/src/StepInput/StepInput.Component.js b/src/StepInput/StepInput.Component.js
new file mode 100644
index 000000000..722b1356e
--- /dev/null
+++ b/src/StepInput/StepInput.Component.js
@@ -0,0 +1,91 @@
+import path from 'path';
+import React from 'react';
+import { ComponentPage, Example } from '../_playground... | 5 | 5 | 2 | [{"id": "G0", "claim": "The explicit require of fundamental-styles/dist/input.css in StepInput can be removed because FormInput already brings input.css with it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "StepInput should pass disableStyles=... | null |
SAP__fundamental-react__917 | SAP/fundamental-react | 917 | defect | a67f66374e91c7e2f60560f2617c2e7917959acf | 587fc80b870204b58fd55ecb54b636961f187106 | fix:#915 Unable to set initial time value for the time picker input | ### Description
There is no provision to set an inital time value(default value) to the Time Picker Component.
According to the documentation, value prop can be used to set initial values but its not working.
Fixed this issue in this.
fixes #issueid
Issue#915 | diff --git a/src/TimePicker/TimePicker.Component.js b/src/TimePicker/TimePicker.Component.js
index c578587a3..7be827ef2 100644
--- a/src/TimePicker/TimePicker.Component.js
+++ b/src/TimePicker/TimePicker.Component.js
@@ -19,6 +19,10 @@ export const TimePickerComponent = () => {
title='12-Hour Clock'>
... | 2 | 2 | 1 | [{"id": "G0", "claim": "The committed snapshot records the wrong button class (`fd-button--light`), which is why the Travis build fails; the snapshot should be updated (e.g. via `npm run test -- -u`) so the button class reads `fd-button--transparent`.", "category": "testing", "verdict": "supported", "priority": "P0", "... | null |
SAP__fundamental-react__924 | SAP/fundamental-react | 924 | defect | 671343b13fe212436c62a55b336828df682a38ea | 705815aab719817bbd8fa7f8a87444f41606846b | fix: expand DatePicker capabilities | ### Description
Adds support for the following (with unit tests):
- updating `defaultValue` prop
- `disabled` and `readOnly` mode
- added prop to spread to inner `Calendar` component
- `onChange` and `onFocus` callback
- provide ISO-8601 formatted date
No visual changes. | diff --git a/src/DatePicker/DatePicker.Component.js b/src/DatePicker/DatePicker.Component.js
index d1a68090a..8702c0ddb 100644
--- a/src/DatePicker/DatePicker.Component.js
+++ b/src/DatePicker/DatePicker.Component.js
@@ -49,6 +49,14 @@ export const DatePickerComponent = () => {
validationState={{ s... | 2 | 2 | 0 | [{"id": "G0", "claim": "The pull request should add storybook examples exercising the new disabled and readOnly props.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test descriptions for the onChange and onFocus callbacks were swapped and sho... | null |
SAP__fundamental-react__955 | SAP/fundamental-react | 955 | defect | 43e6c60d7ec39a779a8a1a74bde0a968e258530b | 5df96c17a96555c498c2cce5a7ab94a7f4a7ecbf | feat: added textarea support for maxLength prop | ### Description
Feature:
- Added text area counter component
- Added an onchange event on the text area that updates the counter
fixes #880 | diff --git a/src/Forms/FormTextArea.test.js b/src/Forms/FormTextArea.test.js
index 8884d5836..b2274ecfd 100644
--- a/src/Forms/FormTextArea.test.js
+++ b/src/Forms/FormTextArea.test.js
@@ -1,4 +1,5 @@
import FormTextarea from './FormTextarea';
+import FormTextareaCounter from './FormTextareaCounter';
import { mount }... | 9 | 7 | 6 | [{"id": "G0", "claim": "The maxLength counter customization does not belong in this component library and should instead be created as a wrapper in the consumer's own codebase.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The PR could re-use the HTML t... | null |
SAP__fundamental-react__957 | SAP/fundamental-react | 957 | defect | 1327bff682e521361197b27d1b49b08556bfdef6 | 7dd7988c7ee5456f87febf0f65b5368c097d3008 | feat: upgrade fundamental-styles to 0.8.0-rc.16 | ### Description
* Update Calendar to match spec and add screen-reader-only section
* Style changes to RTL checkbox/radio
Calendar before:
<img width="359" alt="Screen Shot 2020-04-02 at 5 02 07 PM" src="https://user-images.githubusercontent.com/57502177/78310764-c2b1b800-7503-11ea-8b27-5971a0b8a225.png">
Cal... | diff --git a/.size-limit b/.size-limit
index d9b8e44aa..89ba9fc2f 100644
--- a/.size-limit
+++ b/.size-limit
@@ -3,6 +3,6 @@
name: "Fundamental-React Size",
webpack: true,
path: "lib/index.js",
- limit: "185 KB"
+ limit: "188 KB"
}
]
diff --git a/package-lock.json b/package-lock.json
index 3adc... | 5 | 4 | 0 | [{"id": "G0", "claim": "The three onFocus handlers should be written as inline arrows, e.g. onFocus={() => this.handleMonthFocus(month)}, instead of the curried-call form onFocus={this.handleMonthFocus(month)} used on the added month, year and day cells.", "category": "design", "verdict": "uncertain", "priority": "P3",... | null |
SAP__fundamental-react__966 | SAP/fundamental-react | 966 | defect | c397d04cc0f86c76b2573c6e0a49f9be7dd80b4d | b92196e16229d639f6b6901e1104cf28b3b357d8 | fix: Blur event validates time in the TimePicker input | ### Description
Added new isValidTime function to check if entered time is correct.
fixes #965 | diff --git a/src/TimePicker/_TimePickerItem.js b/src/TimePicker/_TimePickerItem.js
index ce68589ac..9c323c762 100644
--- a/src/TimePicker/_TimePickerItem.js
+++ b/src/TimePicker/_TimePickerItem.js
@@ -201,10 +201,38 @@ class TimePickerItem extends Component {
}
};
- onBlur = () => {
- const { ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new isValidTime function reinvents the validation already in onInputValidation; reuse or improve that existing function instead of adding a duplicate.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "This change should ... | null |
SAP__jenkins-library__1153 | SAP/jenkins-library | 1,153 | defect | 2e742c7ed3449d233e07bde84ef11cdd4ca76a12 | 3be7f9e433c1daf613f3a8d031d289ef06b141c7 | Support yml and yaml extension of config files | # Changes
fixes #1032
superseeds #1038
- [x] Tests
- ~[ ] Documentation~ n/a
| diff --git a/cmd/piper.go b/cmd/piper.go
index 1817048c16..1296de796e 100644
--- a/cmd/piper.go
+++ b/cmd/piper.go
@@ -5,6 +5,8 @@ import (
"fmt"
"io"
"os"
+ "path/filepath"
+ "strings"
"github.com/SAP/jenkins-library/pkg/config"
"github.com/SAP/jenkins-library/pkg/log"
@@ -100,20 +102,18 @@ func PrepareCon... | 2 | 1 | 0 | [{"id": "G0", "claim": "Reorder the condition to the suggested form `if !fileExists && altExists {` instead of `if altExists && !fileExists {`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Inline the `piperutils.FileExists` calls into the `if`... | null |
SAP__jenkins-library__3373 | SAP/jenkins-library | 3,373 | defect | 5372074d7f9a85ec476795fc93f9568e5cd85131 | 9b989826c73a17bb3b8748989fe60015012dc599 | feat(protecode): add versioning model | - versioningModel has been added
- Documentation improvements
- Double URL encoding has been corrected | diff --git a/cmd/protecodeExecuteScan.go b/cmd/protecodeExecuteScan.go
index 54947eb373..c60fa7f0e7 100644
--- a/cmd/protecodeExecuteScan.go
+++ b/cmd/protecodeExecuteScan.go
@@ -23,6 +23,7 @@ import (
"github.com/SAP/jenkins-library/pkg/protecode"
"github.com/SAP/jenkins-library/pkg/telemetry"
"github.com/SAP/je... | 1 | 1 | 1 | [{"id": "G0", "claim": "getTarName should stick to the former file-name format (no blanks, underscore separator) instead of joining with \" - \", otherwise the change risks breaking audit history via the file name.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SAP__jenkins-library__3453 | SAP/jenkins-library | 3,453 | defect | 652011595070d793bb5aee97cf14a82c1a254932 | 2c75ce5c5133834bb02239ed60ced17c9b488e90 | detectExecuteScan : support for detect 7 | # Changes
The changes in PR will make sure that the detect7 script is used by default, if the release version is not controlled by using an environment variable. Setting the environment variable through the customEnvironmentVariable will influence the script which is downloaded and the version of the detect jar downlo... | diff --git a/cmd/detectExecuteScan.go b/cmd/detectExecuteScan.go
index 881382f714..13080192cb 100644
--- a/cmd/detectExecuteScan.go
+++ b/cmd/detectExecuteScan.go
@@ -7,6 +7,7 @@ import (
"net/http"
"os"
"path/filepath"
+ "regexp"
"sort"
"strconv"
"strings"
@@ -253,9 +254,24 @@ func exitCodeMapping(exitCode... | 5 | 4 | 2 | [{"id": "G0", "claim": "The DETECT_LATEST_RELEASE_VERSION check appears to cover only config.CustomEnvironmentVariables and not environment variables exported in the OS environment (e.g. DETECT_LATEST_RELEASE_VERSION=123 ./piper detectExecuteScan ...), so the opt-out may not work for OS-set variables and a test case fo... | null |
SAP__jenkins-library__3471 | SAP/jenkins-library | 3,471 | defect | 01c6f1a66c35001478e6ec41788aa05236a7d6a6 | 2799b35228e35283c6cd57b2c517393864289adc | feat(golangBuild): support private modules | # Changes
Partially solves [#3468](https://github.com/SAP/jenkins-library/issues/3468) and adds support for usage of private go modules.
## How does it work?
* the user just has to provide the contents of the `GOPRIVATE` env variable via the newly introduced `PrivateModules` parameter
* `golangBuild` looks then... | diff --git a/cmd/golangBuild.go b/cmd/golangBuild.go
index 9fd3499dde..1d55419a24 100644
--- a/cmd/golangBuild.go
+++ b/cmd/golangBuild.go
@@ -5,14 +5,20 @@ import (
"fmt"
"os"
"path"
+ "regexp"
"strings"
"text/template"
"github.com/SAP/jenkins-library/pkg/command"
+ "github.com/SAP/jenkins-library/pkg/go... | 2 | 1 | 0 | [{"id": "G0", "claim": "Suggests making the privateModules parameter a []string for consistency with other multi-value parameters, acknowledging that a conversion would then be needed to feed GOPRIVATE.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Sugges... | null |
SAP__jenkins-library__3616 | SAP/jenkins-library | 3,616 | defect | 3e89fb0cd7d00a1202a487d0db73290e684acc23 | 586c226f9a223faf673275d0a38f4da4b99d8ed9 | feat (checkIfStepActive) enhance to include not active conditions | # Changes
enhancing step `checkIfStepActive `to handle `notActiveConditions` such that when the first of the `notActiveConditions` return `true` the step will not be activated
- [x] Tests
- [ ] Documentation
| diff --git a/pkg/config/evaluation.go b/pkg/config/evaluation.go
index b0b412bdc0..360c1618cb 100644
--- a/pkg/config/evaluation.go
+++ b/pkg/config/evaluation.go
@@ -48,6 +48,7 @@ func (r *RunConfigV1) evaluateConditionsV1(config *Config, filters map[string]St
}
stepActive := false
+ stepNotActive := false... | 4 | 2 | 1 | [{"id": "G0", "claim": "The new test function name TestNotAvtiveEvaluateConditionsV1 misspells NotActive and should be renamed to TestNotActiveEvaluateConditionsV1.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should also test... | null |
SAP__jenkins-library__3766 | SAP/jenkins-library | 3,766 | defect | 607054970445edcd434afd02f891d5e8653fb01f | cb7ec518ae5ff8b6d12efd25cae4efcece32d564 | Create azureBlobUpload | This PR adds the step "azureBlobUpload" to the library. The step uploads a specified file or directory into a given Azure Blob Storage.
# Changes
- [ ] Tests
- [ ] Documentation
| diff --git a/cmd/azureBlobUpload.go b/cmd/azureBlobUpload.go
new file mode 100644
index 0000000000..9a68a73a34
--- /dev/null
+++ b/cmd/azureBlobUpload.go
@@ -0,0 +1,120 @@
+package cmd
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+ "net/http"
+ "os"
+ "path/filepath"
+
+ "github.com/Azure/azure-sdk-for-go/sdk/stor... | 15 | 13 | 3 | [{"id": "G0", "claim": "The variable holding the unmarshalled Azure credentials should be named something clearer than `obj`, e.g. `creds`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The log line should read \"Starting walk through file path... | null |
SAP__jenkins-library__3822 | SAP/jenkins-library | 3,822 | defect | 5edb0d25663d54df4f38d11ec1ac9762f6372171 | d6c100af01166f4fa5abbf6b2c273bb58ed5afc5 | cnbBuild: add alias for imageNames for easier valueMapping in helmDeploy | # Changes
Currently the values for `helmDeploy` are derived from the content of `imageNames`. So an image named "my-image" would get the property `image.my_image.repository` when deploying. This might lead to some confusing situations because the name of the property has to be "guessed (s/-/_/g ...).
Also it is str... | diff --git a/cmd/cnbBuild.go b/cmd/cnbBuild.go
index fcdc3c9992..6f79cb8a0a 100644
--- a/cmd/cnbBuild.go
+++ b/cmd/cnbBuild.go
@@ -451,7 +451,11 @@ func runCnbBuild(config *cnbBuildOptions, telemetryData *telemetry.CustomData, t
commonPipelineEnvironment.container.imageNameTag = fmt.Sprintf("%v:%v", targetImage.Cont... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new `alias` parameter would make more sense renamed (to `imageAlias`, later settled as `containerImageAlias` for consistency with `containerImageName`, `containerImageTag` and `containerRegistryURL`).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introd... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.