2021 Monthly Sprint

yjiaao7
2 min readApr 1, 2021

2021–01

context switch + loading

1.

lodash throttle:

2.

typescript:partial vs. pick

const partialPerson: Partial<Person> = { id: 1 };

<Partial of XXXX > XXX 需要一个type 不能是值域

type Test = Partial<{ [key in Text]: string }>;

const t: Test = { d: ‘s’ };

3.

flex: <flex-grow> <flex-shrink> <flex-basis>

flex-grow: initial value is 0.

flex-shrink: initial value is 1.

<flex-basis = <length>, <percentage>, or calc()> initial value is auto.

4.

display: content 边框忽略

6.

SASS 和 ! important 不兼容 (掀桌.jpg)

2021–02

tag @kubernetes

小时候憋作文, 工作了憋文档

wget 方法大全: -O rename -r overwrite -P directory — mirror mirroring — convert-links -l1 1st subdirectory

wget: -O rename -r overwrite -P directory — mirror mirroring — convert-links -l1 1st subdirectory

wget — mirror -p — convert-links http://www.website.com

Where:

–p :-mirror : This option will enable mirroring options.

-p : This option will download all necessary files required to properly display a given HTML page.

–convert-links : This option will convert the links in document for local viewing.

rabbit mq + pika (channel, queue) / (direct, title) / (ack, receive)

2021– 03

1. supplier onboarding loggings

SEF mutations for supplier onboarding is hard to track due to lack of consistency and integrity

impact:

created custom logger tool for tracking with defined structure and helper class

extended structure to track SEF GraphQL mutations for supplier onboarding actions as well as onboarding status email notifications

add encryption on user information through Crypto project to store sensitive data

2. misleading supplier connect notification (total:

supplier connect notification is still using the legacy template, including onboarding invitation (supplier and requestor), recurring reminder notification, onboarded notification (supplier and requestor), rejection notification, manual onboard notification; notification logic not fully functioned

impact:

updated Notification manager metadata and templates

added template for reviews

created notification dispatch boilerplate with detailed logger

--

--