text:
perf: improve chat switch performance - fixed

Details

Original PR got reverted because of issues with ghost draft comments, this PR brings backs the changes from the original PR, and fixes the related issues.
Please refer to original PR for more details.
Fixed Issues

$ https://github.com/Expensify/App/issues/32793
PROPOSAL: https://github.com/Expensify/App/pull/32336 (original PR)
Tests

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/20626315/5abfabfb-4293-4513-9618-80c555bd342c

MacOS: Desktop

C+ Reviewer: please refer to 3 commits on top of original PR for easy review

as to why:

callback was removed because it was capturing function that changed way too often
reverted the else if condition in Composer as it's necessary to save clean comment as current state of composer in that report, as original author intended

Reviewer Checklist

[x] I have verified the author checklist is complete (all boxes are checked off).
[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[x] I included screenshots or videos for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I verified that this PR follows the guidelines as stated in the Review Guidelines
[x] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

https://github.com/Expensify/App/assets/30054992/a817e55b-e0c6-4a4f-aa20-0530bed5b04f

Android: mWeb Chrome

https://github.com/Expensify/App/assets/30054992/bc78ebec-accd-43df-b7e9-2572c06087e4

iOS: Native

https://github.com/Expensify/App/assets/30054992/3980c628-5124-4408-b679-8192c69f0f80

iOS: mWeb Safari

https://github.com/Expensify/App/assets/30054992/845525be-8b26-43ad-a4b3-2d6389c66081

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/30054992/8cd50ce6-9a96-4472-81c8-b7a95d6a9b91

MacOS: Desktop

https://github.com/Expensify/App/assets/30054992/5ac08f53-7141-4bf9-950c-2ad114d21e40

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/mountiny in version: 1.4.55-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
failure ❌

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/mountiny in version: 1.4.55-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/AndrewGable in version: 1.4.55-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

authors: OSBotify allroundexperts jbroma


text:
[No QA] Make preDeploy continue if lint and test succeed

Details
Following-up on https://github.com/Expensify/App/pull/9611 to fix https://github.com/Expensify/App/actions/runs/2579056741.
Fixed Issues
$ n/a
Tests

Merge this PR
Verify that after lint and test succeed, the workflow proceeds.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @roryabraham in version: 1.1.81-0 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
failure ❌

source: gharchive/pull-request

authors: OSBotify roryabraham

repo: Expensify/App

license: MIT

license_type: permissive

license_source: github-api


text:
Add new sign in flow

NOTE
This is not hooked up to any APIs yet, it just walks through the form steps.
Things left to do:

[ ] Call GetAccountStatus to see if the user had an account already and if they have access to e.cash
[ ] Call SetGithubUsername to save the github username
[ ] Call CreateLogin if account already existed
[ ] Call CreateAccount if account didn't exist
[ ] See if the 2FA field can be hidden if it's not required (maybe add this to GetAccountStatus?)

Fixed Issues
Fixes https://github.com/Expensify/Expensify/issues/148719
Fixes https://github.com/Expensify/Expensify/issues/148714
Fixes https://github.com/Expensify/Expensify/issues/148716
Tests
As you go through the testing, verify that form validation works (you can't submit an empty form)

Fill out the login form, verify you are taken to the github username form
Fill out the github username form, verify you are taken to the password form
Fill out the password form, verify you are taken to the resend validation link form
Clear out local storage according to this SO
Refresh the page and verify you are back at the first login form

Screenshots
||
||
cc @chiragsalian @stitesExpensify @shawnborton

Updated to fix conflicts and address comment. Still hard to tell if the logic is all correct until it can be tested. Once it can be fully tested then I'll bring this out of WIP.

FYI - Login isn't saved when I click "Change Expensify login" to go back, should it be?

FYI - Login isn't saved when I click "Change Expensify login" to go back, should it be?

I don't think it should be saved, no. It doesn't make sense that if you wanted to change your login that you would want the old value to be there (since you're explicitly trying to change it).
@marcaaron Thanks for the review! I've addressed some of those. Some of the NABs I'm not going to do in this PR and we can do later if we want. Some of your comments were on outdated code as well, so some of the confusion might have been cleared up already.

Is it intentional that the web version kinda looks like a mobile version?

Hm, ya ideally we'd have a more responsive design for desktop.
On Mon, Dec 21, 2020 at 8:12 PM Brandon Stites notifications@github.com
wrote:

Is it intentional that the web version kinda looks like a mobile version?
[image: 2020-12-21_21-12-23]
https://user-images.githubusercontent.com/42391420/102848104-39178280-43d1-11eb-8baf-e2e0d99dc3da.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Expensify/Expensify.cash/pull/1025#issuecomment-749327366,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEMNUVRUACM7HPCU24577DSWAMDXANCNFSM4VCMYHKQ
.

That is sort of intentional... we can do better though. I'll have another PR to try and improve the desktop design.
This is all tested and ready to go, so finally removing WIP

I have read the CLA Document and I hereby sign the CLA

authors: AndrewGable quinthar stitesExpensify tgolen


text:
Emoji Picker Menu Navigation

Details
Added the ability to navigate through the emoji picker menu with arrow keys, and to send the highlighted emoji with [Enter]. It should function the same as the emoji picker in Slack.

the highlighted emoji should never be cutoff by the window
the first emoji is highlighted upon searching emojis
hovering over an emoji with your cursor will also change the currently highlighted emoji
if no emoji is highlighted, pressing an arrow key will highlight the first emoji
the cursor in the search input is not affected by arrow key presses that change the highlighted emoji

Fixed Issues
Fixes https://github.com/Expensify/Expensify.cash/issues/2450
Tests
I tested this feature on Web and Desktop since those are the only two places it can actually be used, but I also tested it on Mobile Web to ensure that the touchscreen check works and that the Emoji Picker Menu doesn't crash.

Opened the emoji picker. Scroll down till you can see the end of on category and the start of another.
Use your mouse to hover over an emoji near this boundary.
Use the up/down arrow keys to move the highlight around this border. Verified that it skips over the header.
Move the highlight at the top and bottom edges of the window with the arrow keys. Verified that the menu scrolls to keep the highlighted emoji in the window.
Type in search terms to filter by. Verified that the first search result is highlighted. Verified that nothing breaks when you try to go out of bounds. Verified that you can move the cursor using the appropriate arrow keys when they would move the highlight out of bounds.
Pressed [Enter]. Verified that the highlighted emoji was inputted into the compose box.
Repeat steps 1-6 two more times to verify that event listeners are removed and added correctly.

QA Steps
Identical to the tests above. See videos for examples.
Tested On

[x] Web
[ ] Mobile Web
[x] Desktop
[ ] iOS
[ ] Android

Screenshots
Web
https://user-images.githubusercontent.com/31285285/115820241-0048f200-a433-11eb-9dd8-d6c274158365.mp4
Desktop
https://user-images.githubusercontent.com/31285285/115819992-8ca6e500-a432-11eb-9322-4cabf9f107f3.mp4
cc @stitesExpensify

@pecanoro @stitesExpensify Thanks for clarifying my questions! Should be good for another review.

Tested and it works great! Just some code organization comments and then we should be good to go!

Hey @stitesExpensify thanks so much for the review! I've addressed most of your concerns but have a few clarifications of my own. Let me know what you think!

@stitesExpensify Ready for another review, thanks for your feedback!

🚀 Deployed to staging in version: 1.0.35-2🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

Emoji Picker - Moving by arrow keys will eventually lose selection
Expected result
Focus isn't lost even after reaching the last emoji on the list.
Actual result
After reaching the last emoji on the list, the focus is not visible anymore.
Action Performed

Log in to expensify.cash
Navigate to a conversation
Click on the emoji icon
Use the arrow keys to reach the bottom of the list

Platform
Web ✔
Build: 1.0.36-0
Notes/Images/Video
https://user-images.githubusercontent.com/44479856/116945606-15e5c500-ac46-11eb-9e65-ce28fcc1e469.mp4

@jasperhuangg Not sure if the issue above should be a deploy blocker, let me know if I should open as a separate issue.

No need for this to be a deploy blocker, @isagoico, can you create a separate issue and tag @jasperhuangg?

authors: OSBotify isagoico jasperhuangg roryabraham stitesExpensify


text:
Make easily noticeable temporary change

Details
This PR is being used to test the CP workflow. It is "PR A", referenced in Step 5 of the testing plan here. This change will be reverted soon
Fixed Issues
Part of testing https://github.com/Expensify/Expensify.cash/pull/2978
Tests

Merge this PR
Verify that it gets the ✋ This PR will not be deployed ... comment
Verify that a staging deploy does not occur.
Verify that the red FAB is not present on staging.
Later complete steps 10-12 of the testing plan

QA Steps
Verify that the FAB is not red 😂

Skipping tests/actions to test CP PR flow

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

Test steps 1-4 passed 👍

authors: Jag96 OSBotify roryabraham


text:
feat: remove emoji tag from data-code-raw in pre

Fixed Issues
$ GH_LINK
Tests

What unit/integration tests cover your change? What autoQA tests cover your change?
What tests did you perform that validates your changed worked?

QA

What does QA need to do to validate your changes?
What areas to they need to test for regressions?

I have read the CLA Document and I hereby sign the CLA

recheck

repo: Expensify/expensify-common


text:
sound source

How do I change sound source?
Whan I change headset in POE, this doesn't copy to Mercury Trade.
Even after restarting the pc.
When I put the old headset in the pc, it works.

MercuryTrade here is discontinued. Feel free to try a community fork version here: https://github.com/Morph21/MercuryTrade-Community-Fork
It's possible to change sounds.
Also different headset is not an issue on POE or MT side, check your system settings for solving sound issues

MercuryTrade here is discontinued. Feel free to try a community fork version here: https://github.com/Morph21/MercuryTrade-Community-Fork
It's possible to change sounds.
Also different headset is not an issue on POE or MT side, check your system settings for solving sound issues

source: gharchive/issue

repo: Exslims/MercuryTrade

license: mit

license_source: bigquery


text:
Example TwoWayRanging is not work.

Step 1: What do you want?

TwoWayRangingInitiator and TwoWayRangingResponder do not work. therefore I want them to work.

Step 2: Describe your environment

Arduino IDE version or Toolchain: Arduino IDE 1.8.7
Arduino device: Arduino Uno R3
Used adapter board: None

Step 3: Describe the problem
Affected file(s) or example(s):

TwoWayRangingResponder.ino
TwoWayRangingInitiator.ino

Observed Results:

It seems not to work!
Thus I tried Basic Connectivity Test.

I'm not sure it's correct output because I'm a beginner of Arduino and DWM1000.
But I don't think there is any noticeable problem.
And then I uploaded Basic Sender/Receiver to Arduino.

I still have no clue about this, but it seems to work fine.

EDIT: thotro/arduino-dw1000
I tried also thotro's library.

The device is removed immediately after it is added.

Why are BasicSender and Receiver working but TwoWayRanging not working?
Expected Results:

Jaja, I expected they work.

Wiring

Where did you put the 10K resistor ? I am having the same issue my Basic Receiver and Basic Sender is working but the Two Way Ranging example doesnt work

@lgr9603

Where did you put the 10K resistor ? I am having the same issue my Basic Receiver and Basic Sender is working but the Two Way Ranging example doesnt work

I think that the @tdh8316 's solution is relative to section 5.2.2 inside DWM1000 datasheet

@Leylan24 I'm a coworker of @tdh8316 .
Well, we put the 10K resistor on pin 2 to remove noises flowing through it.
And drop the voltage of digital pins from 5V to 3.3V. Dwm1000 can work between 2.4V and 3.75V. (Along to datasheet on decawaver.com)
As I said, arduino uno digital pins use 5V, bout DWM1000 sends output signals in 3.3V. So we should increase voltage of DWM1000 signal from 3.3V to 5V.

Thanks for you reply. I'm using the ESP8266 Nodemcu and get very inaccurate ranges no idea why

This is a bit of a stupid question.
But does the ranges only print when the IRQ pin gets pulled high?

This is a bit of a stupid question.
But does the ranges only print when the IRQ pin gets pulled high?

With this library, the IRQ pin is not required. There are two different init processes, with or without Interrupt pin.


text:
Ability to create DNS_Logging_Profile from AS3

Is your feature request related to a problem? Please describe.
Feature Request
Describe the solution you'd like
AS3 has the ability to reference DNS_Logging_Profile as a pre-created item, we would like the ability to create it. I don't see an option in the schema to create one.
      "description": "Reference to a DNS logging profile",
      "type": "object",
      "properties": {
        "bigip": {
          "description": "Pathname of existing BIG-IP DNS logging profile",
          "type": "string",
          "format": "f5bigip"
        }
      },

Describe alternatives you've considered
There isn't an Ansible module for this either, it would require imperative calls to create the object.
REST endpoint: /mgmt/tm/ltm/profile/dns-logging
Options:
appService:
description:
enableQueryLogging:
enableResponseLogging:
includeCompleteAnswer:
includeQueryId:
includeSource:
includeTimestamp:
includeView:
logPublisher:
name:

Additional context
Object in question:

Thank you for your feedback. Due to the age of this feature request, I would like to know if this is still something you need or are interested in.


text:
Unable to compare SSL SNI/hostname against data group

Environment

Application Services Version: 3.48.0
BIG-IP Version: 17.1.0.2

Summary
When building a policy, I can compare the HTTP hostname against a data group, but I cannot compare the SSL SNI hostname against the same data group. I get the following error
Steps To Reproduce

Submit the following policy:

"http-redirect": {
    "class": "Endpoint_Policy",
    "strategy": "first-match",
    "rules": [
        {
            "name": "permit",
            "conditions": [{
                "type": "httpHost",
                "event": "request",
                "host": {
                    "operand": "ends-with",
                    "datagroup": {
                        "use": "permitted-domains"
                    }
                }
            }]
        }
    ]
}

It works fine.

Submit this policy instead:

"https-block": {
    "class": "Endpoint_Policy",
    "strategy": "first-match",
    "rules": [
        {
            "name": "permit",
            "conditions": [{
                "type": "sslExtension",
                "event": "ssl-client-hello",
                "serverName": {
                    "operand": "ends-with",
                    "datagroup": {
                        "use": "permitted-domains"
                    }
                }
            }]
        }
    ]
}

It fails to post, I get the following error:
{
  "code": 422,
  "message": "declaration failed",
  "response": "01020036:3: The requested datagroup lookup failure:  (use) was not found.",
  "host": "localhost",
  "tenant": "init-policy",
  "runTime": 2365
},

it looks like two things are changing from your working and not working examples. If the permitted-domains data group is managed by AS3, can you try updating your failing example to use a use pointer instead of a bigip pointer?

Good observation. In all my testing, I copied/pasted the wrong example. The behavior is the same when with a use pointer. I updated my post above.

Add Jira AUTOTOOL-4132 to next sprint for prioritization discussion


text:
Datadog: add customizable service field option

Is your feature request related to a problem? Please describe.
The service field option, used by Datadog logging, is not customizable but statically defined in the code.
const DATA_DOG_SERVICE_FIELD = 'f5-telemetry'
Describe the solution you'd like
Be able to set a custom value in the Datadog consumer declaration.

Thank you for your feedback. I have added your request to our internal product backlog as AUTOTOOL-2753.

I guess it had been fixed in v1.24.0?

This has been resolved in the 1.24.0 release.


text:
虚拟人对话一次后报错

错误如图所示，各位大佬有解决办法嘛？

@SZNero @wyxogo

错误如图所示，各位大佬有解决办法嘛？

请修改zsmeif_aispeech_config.json

感谢！已解决。


text:
Adds passing of objects to transmission reader

This adds the functionality of passing a dict to the transmission readers convert function.
@hampusnasstrom

So you pass Dict type objects and append them to the template? No other object types are accepted currently, right?

Pull Request Test Coverage Report for Build 6159995561

10 of 17 (58.82%)  changed or added relevant lines in 3 files are covered.
4 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.005%) to 51.087%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pynxtools/dataconverter/readers/utils.py
6
13
46.15%

Files with Coverage Reduction
New Missed Lines
%

pynxtools/dataconverter/readers/shared/map_concepts/mapping_functors.py
1
11.86%

pynxtools/nyaml2nxdl/nyaml2nxdl_forward_tools.py
1
79.42%

pynxtools/nexus/nxdl_utils.py
2
74.79%

Totals

Change from base Build 6086304081:
-0.005%

Covered Lines:
5993

Relevant Lines:
11731

💛  - Coveralls

So you pass Dict type objects and append them to the template? No other object types are accepted currently, right?

Exactly, I expect an iterable of dicts. Every other element is simply warned about and ignored

authors: coveralls domna sherjeelshabih

repo: FAIRmat-NFDI/pynxtools


text:
Adding Statistic

This fix request #3 #26 and #27

repo: FBoucher/AzUrlShortener


text:
caliper benchmark question

[caliper-flow] 	Error: TypeError: Cannot read property 'hasOwnProperty' of undefined
at ClientOrchestrator.init (/home/drtts1/benchmarks/node_modules/@hyperledger/caliper-core/lib/client/client-orchestrator.js:41:24)
at Object.module.exports.run (/home/drtts1/benchmarks/node_modules/@hyperledger/caliper-core/lib/caliper-flow.js:106:60)
at
at process._tickCallback (internal/process/next_tick.js:189:7)

请参考 #1248,  更详细的压测说明请参考文档

#1248

Duplicate of #1248

authors: Xubin-source cyjseagull

repo: FISCO-BCOS/FISCO-BCOS


text:
Feature: Host Functions

This pull request/branch tracks the development of host functions.
Example documentation: https://gist.github.com/Robadob/081d04d2d515ce3b090bf389dc9195dc
This addresses many issues, as such the branch may be long running and merged incrementally:
PR #135

[x] #46 - Host functions init/step/exit bd5097c
[x] #54 - Exit early from step function bd5097c
[x] #47 - Host layer functions (step function in any layer) 7c0c204
[x] #53 - CUB reductions (min, max, sum, count) 046fa07
[x] #80 - Histogram reduction 09ac715
[x] #83 - Custom reduction functions (cub reduce, thrust transformReduce) ffa28c9

PR: #138

[x] #90 - Constant/Immutable Environmental variables

PR: #196

[x] #61 - Agent creation on the host

Misc/Low Priority

[ ] #162 - Large environment properties (held in global memory)
[ ] #51 - 'Access agent data on the host'????

TODO:

[x] Rename FLAMEGPU_API->FLAMEGPU_DEVICE_API

Host function definition

[x] Host Fn
[x] Host Condition

Add Host fn/condition to model

[x] Init
[x] Step
[x] Exit
[x] Layer
[x] ExitCondition

gpu/CUDAAgentModel (Controls execution of model)

step(): Update to support host functions

[x] Init
[x] Step
[x] Exit
[x] HostLayer
[x] ExitCondition

Environmental vars

[x] Define
[x] Read in device fn

Runtime/flamegpu_host_api.h

Environmental vars

[x] Read on host fn
[x] Write in host fn

[x] Wrapper for <random>

Reduction

[x] Sum
[x] Min
[x] Max
[x] Reduce (user defined template binary op a+b->c)

Others from thrust?

[x] Count
[x] TransformReduce

Message reductions?

Histogram

[x] Even

Custom bounds? (This would require having to cache their bounds on device somehow)

[x] Agent Creation

[x] Tests
[x] Example usage in model

TODO Monday:

Custom reduction fn
\<random> wrapper using runtime seed.

This PR has served it's purpose all parity tasks complete.


text:
Request: Option to toggle the "green styling"

It makes it very hard to read with darkmode on

As an "older gentleman" it kinda all blurs into one colour!

The main problem is the text color, which we will improve upon. But we have been working toward centralizing styling colors so it might be possible in the future (not yet) to have themes.
Baby steps...
... but for now we'll fix the text which is badly colored as you showed in your screenshots.
Thank you for giving feedback, some of those area haf not occured to me, so this is definitely helpful.

I'll address this if you want

Fixed.


text:
create robot control react element to show the current state of the robot

sensor data, motor output etc..., position...

I implemented this already. Will add a PR today

#46 has an extremely simple version of this, only contains the motor power for now, but ill close this issue.

authors: JamesWP eurocoinsalbum

repo: FRUK-Simulator/Simulator


text:
Automatically download new SoundCloud tracks

The text in the followthatpage mails might be enough to automatically download new SoundCloud tracks from artists I follow with that tool. The hardest part of that might be reading the mail using Bash, but surely there's a tool for that.
Test cases would have to include tracks with the same name as something that that artist has already uploaded before, because then they get an attached "-2" or similar in the URL, but it might also be slightly different. Checking the upload date and comparing that to the mail should definitely be done. Maybe that's also enough and the actual content of the mail can be ignored, just knowing that someone uploaded and then downloading the last week of their tracks would be OK.
Filtering out false positives like in the mail macro would also be necessary for as long as that followthatpage bug exists.
Alternatively, there's something with RSS on SoundCloud, which would be a less hacky solution (RSS→dl instead of website→follow→mail→guess link→verify date→dl). But I never got any of those RSS feeds to work so far.

alternative: query pages myself, can also apply to more than SC

auto-download WL and temp_music

similar: webcomics, Lateral

license: Unlicense


text:
Recipe for smelting zinc from raw zinc ore is broken

Description
Recipe for smelting zinc from raw zinc ore is broken, also blasting and bulk blasting.

Game Log
https://mclo.gs/FXafl4x
Debug Information

Client Info
Create:
	Mod Version: 0.5.1j
	Fabric API Version: 0.92.2+1.20.1
	Minecraft Version: 1.20.1

Graphics:
	Flywheel Version: 0.6.11-4
	Flywheel Backend: INSTANCING
	OpenGL Renderer: AMD Radeon 780M Graphics
	OpenGL Version: 3.2.0 Core Profile Context 24.10.1.241007
	Graphics Mode: options.graphics.fancy

System Information:
	Operating System: Windows 11 (amd64) version 10.0
	Java Version: 17.0.12, Oracle Corporation
	JVM Flags: 6 total; -XX:ThreadPriorityPolicy=1 -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCIProduct -XX:-UnlockExperimentalVMOptions -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx8192M
	Memory: 1113639984 bytes (1062 MiB) / 2248146944 bytes (2144 MiB) up to 8589934592 bytes (8192 MiB)
	Total Memory: 19831197696 bytes (18904 MiB) / 33515835392 bytes (31950 MiB)
	CPU: AMD Ryzen 9 7940HS w/ Radeon 780M Graphics @ 3.99 GHz; 8 cores / 16 threads on 1 socket(s)
	Graphics card #0: AMD Radeon 780M Graphics (Advanced Micro Devices, Inc. (0x1002)); 512.00 MB of VRAM

Other Mods:
	core: 3.6.6
	toml: 3.6.6
	jsr305: 3.0.2
	Dripstone Fluid Lib: 3.0.2
	EMI: 1.1.18+1.20.1+fabric
	Extra Mod Integrations: 0.4.6+1.20.1
	Fabric API Base: 0.4.31+1802ada577
	Fabric API Lookup API (v1): 1.6.36+1802ada577
	Fabric Biome API (v1): 13.0.13+1802ada577
	Fabric Block API (v1): 1.0.11+1802ada577
	Fabric BlockView API (v2): 1.0.1+1802ada577
	Fabric BlockRenderLayer Registration (v1): 1.1.41+1802ada577
	Fabric Client Tags: 1.1.2+1802ada577
	Fabric Command API (v1): 1.2.34+f71b366f77
	Fabric Command API (v2): 2.2.13+1802ada577
	Fabric Commands (v0): 0.2.51+df3654b377
	Fabric Containers (v0): 0.1.64+df3654b377
	Fabric Content Registries (v0): 4.0.11+1802ada577
	Fabric Convention Tags: 1.5.5+1802ada577
	Fabric Crash Report Info (v1): 0.2.19+1802ada577
	Fabric Data Attachment API (v1): 1.0.0+de0fd6d177
	Fabric Data Generation API (v1): 12.3.4+1802ada577
	Fabric Dimensions API (v1): 2.1.54+1802ada577
	Fabric Entity Events (v1): 1.6.0+1c78457f77
	Fabric Events Interaction (v0): 0.6.2+1802ada577
	Fabric Events Lifecycle (v0): 0.2.63+df3654b377
	Fabric Game Rule API (v1): 1.0.40+1802ada577
	Fabric Item API (v1): 2.1.28+1802ada577
	Fabric Item Group API (v1): 4.0.12+1802ada577
	Fabric Key Binding API (v1): 1.0.37+1802ada577
	Fabric Key Bindings (v0): 0.2.35+df3654b377
	Fabric Lifecycle Events (v1): 2.2.22+1802ada577
	Fabric Loot API (v2): 1.2.1+1802ada577
	Fabric Loot Tables (v1): 1.1.45+9e7660c677
	Fabric Message API (v1): 5.1.9+1802ada577
	Fabric Mining Level API (v1): 2.1.50+1802ada577
	Fabric Model Loading API (v1): 1.0.3+1802ada577
	Fabric Models (v0): 0.4.2+9386d8a777
	Fabric Networking API (v1): 1.3.11+1802ada577
	Fabric Networking (v0): 0.3.51+df3654b377
	Fabric Object Builder API (v1): 11.1.3+1802ada577
	Fabric Particles (v1): 1.1.2+1802ada577
	Fabric Recipe API (v1): 1.0.21+1802ada577
	Fabric Registry Sync (v0): 2.3.3+1802ada577
	Fabric Renderer API (v1): 3.2.1+1802ada577
	Fabric Renderer - Indigo: 1.5.2+85287f9f77
	Fabric Renderer Registries (v1): 3.2.46+df3654b377
	Fabric Rendering Data Attachment (v1): 0.3.37+92a0d36777
	Fabric Rendering Fluids (v1): 3.0.28+1802ada577
	Fabric Rendering (v0): 1.1.49+df3654b377
	Fabric Rendering (v1): 3.0.8+1802ada577
	Fabric Resource Conditions API (v1): 2.3.8+1802ada577
	Fabric Resource Loader (v0): 0.11.10+1802ada577
	Fabric Screen API (v1): 2.0.8+1802ada577
	Fabric Screen Handler API (v1): 1.3.30+1802ada577
	Fabric Sound API (v1): 1.0.13+1802ada577
	Fabric Transfer API (v1): 3.3.5+8dd72ea377
	Fabric Transitive Access Wideners (v1): 4.3.1+1802ada577
	Fabric Loader: 0.16.9
	Forge Config API Port: 8.0.0
	Java HotSpot(TM) 64-Bit Server VM: 17
	Milk Lib: 1.2.60
	MixinExtras: 0.4.1
	Porting Lib Accessors: 2.3.5-beta.33+1.20.1
	Porting Lib Attributes: 2.3.5-beta.33+1.20.1
	Porting Lib Base: 2.3.5-beta.33+1.20.1
	Porting Lib Brewing: 2.3.5-beta.33+1.20.1
	Porting Lib Client Events: 2.3.5-beta.33+1.20.1
	Porting Lib Common: 2.3.5-beta.33+1.20.1
	Porting Lib Config: 2.3.5-beta.33+1.20.1
	Porting Lib Core: 2.3.5-beta.33+1.20.1
	Porting Lib Data: 2.1.1090+1.20
	Porting Lib Entity: 2.3.5-beta.33+1.20.1
	Porting Lib Extensions: 2.3.5-beta.33+1.20.1
	Porting Lib Fluids: 2.3.5-beta.33+1.20.1
	Porting Lib GameTest: 2.1.1090+1.20
	Porting Lib Gui Utils: 2.3.5-beta.33+1.20.1
	Porting Lib Lazy Register: 2.3.5-beta.33+1.20.1
	Porting Lib Mixin Extensions: 2.3.5-beta.33+1.20.1
	Porting Lib Model Generators: 2.1.1090+1.20
	Porting Lib Model Loader: 2.3.5-beta.33+1.20.1
	Porting Lib Model Materials: 2.1.1090+1.20
	Porting Lib Models: 2.3.5-beta.33+1.20.1
	Porting Lib Networking: 2.3.5-beta.33+1.20.1
	Porting Lib Obj Loader: 2.3.5-beta.33+1.20.1
	Porting Lib Tags: 3.0
	Porting Lib Tool Actions: 2.3.5-beta.33+1.20.1
	Porting Lib Transfer: 2.3.5-beta.33+1.20.1
	Porting Lib Utility: 2.3.5-beta.33+1.20.1
	Reach Entity Attributes: 2.4.0
	Registrate for Fabric: 1.3.79-MC1.20.1

Server Info
Create:
	Mod Version: 0.5.1j
	Fabric API Version: 0.92.2+1.20.1
	Minecraft Version: 1.20.1

System Information:
	Operating System: Windows 11 (amd64) version 10.0
	Java Version: 17.0.12, Oracle Corporation
	JVM Flags: 6 total; -XX:ThreadPriorityPolicy=1 -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCIProduct -XX:-UnlockExperimentalVMOptions -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx8192M
	Memory: 1113639984 bytes (1062 MiB) / 2248146944 bytes (2144 MiB) up to 8589934592 bytes (8192 MiB)
	Total Memory: 19831197696 bytes (18904 MiB) / 33515835392 bytes (31950 MiB)
	CPU: AMD Ryzen 9 7940HS w/ Radeon 780M Graphics @ 3.99 GHz; 8 cores / 16 threads on 1 socket(s)
	Graphics card #0: AMD Radeon 780M Graphics (Advanced Micro Devices, Inc. (0x1002)); 512.00 MB of VRAM

Other Mods:
	core: 3.6.6
	toml: 3.6.6
	jsr305: 3.0.2
	Dripstone Fluid Lib: 3.0.2
	EMI: 1.1.18+1.20.1+fabric
	Extra Mod Integrations: 0.4.6+1.20.1
	Fabric API Base: 0.4.31+1802ada577
	Fabric API Lookup API (v1): 1.6.36+1802ada577
	Fabric Biome API (v1): 13.0.13+1802ada577
	Fabric Block API (v1): 1.0.11+1802ada577
	Fabric BlockView API (v2): 1.0.1+1802ada577
	Fabric BlockRenderLayer Registration (v1): 1.1.41+1802ada577
	Fabric Client Tags: 1.1.2+1802ada577
	Fabric Command API (v1): 1.2.34+f71b366f77
	Fabric Command API (v2): 2.2.13+1802ada577
	Fabric Commands (v0): 0.2.51+df3654b377
	Fabric Containers (v0): 0.1.64+df3654b377
	Fabric Content Registries (v0): 4.0.11+1802ada577
	Fabric Convention Tags: 1.5.5+1802ada577
	Fabric Crash Report Info (v1): 0.2.19+1802ada577
	Fabric Data Attachment API (v1): 1.0.0+de0fd6d177
	Fabric Data Generation API (v1): 12.3.4+1802ada577
	Fabric Dimensions API (v1): 2.1.54+1802ada577
	Fabric Entity Events (v1): 1.6.0+1c78457f77
	Fabric Events Interaction (v0): 0.6.2+1802ada577
	Fabric Events Lifecycle (v0): 0.2.63+df3654b377
	Fabric Game Rule API (v1): 1.0.40+1802ada577
	Fabric Item API (v1): 2.1.28+1802ada577
	Fabric Item Group API (v1): 4.0.12+1802ada577
	Fabric Key Binding API (v1): 1.0.37+1802ada577
	Fabric Key Bindings (v0): 0.2.35+df3654b377
	Fabric Lifecycle Events (v1): 2.2.22+1802ada577
	Fabric Loot API (v2): 1.2.1+1802ada577
	Fabric Loot Tables (v1): 1.1.45+9e7660c677
	Fabric Message API (v1): 5.1.9+1802ada577
	Fabric Mining Level API (v1): 2.1.50+1802ada577
	Fabric Model Loading API (v1): 1.0.3+1802ada577
	Fabric Models (v0): 0.4.2+9386d8a777
	Fabric Networking API (v1): 1.3.11+1802ada577
	Fabric Networking (v0): 0.3.51+df3654b377
	Fabric Object Builder API (v1): 11.1.3+1802ada577
	Fabric Particles (v1): 1.1.2+1802ada577
	Fabric Recipe API (v1): 1.0.21+1802ada577
	Fabric Registry Sync (v0): 2.3.3+1802ada577
	Fabric Renderer API (v1): 3.2.1+1802ada577
	Fabric Renderer - Indigo: 1.5.2+85287f9f77
	Fabric Renderer Registries (v1): 3.2.46+df3654b377
	Fabric Rendering Data Attachment (v1): 0.3.37+92a0d36777
	Fabric Rendering Fluids (v1): 3.0.28+1802ada577
	Fabric Rendering (v0): 1.1.49+df3654b377
	Fabric Rendering (v1): 3.0.8+1802ada577
	Fabric Resource Conditions API (v1): 2.3.8+1802ada577
	Fabric Resource Loader (v0): 0.11.10+1802ada577
	Fabric Screen API (v1): 2.0.8+1802ada577
	Fabric Screen Handler API (v1): 1.3.30+1802ada577
	Fabric Sound API (v1): 1.0.13+1802ada577
	Fabric Transfer API (v1): 3.3.5+8dd72ea377
	Fabric Transitive Access Wideners (v1): 4.3.1+1802ada577
	Fabric Loader: 0.16.9
	Forge Config API Port: 8.0.0
	Java HotSpot(TM) 64-Bit Server VM: 17
	Milk Lib: 1.2.60
	MixinExtras: 0.4.1
	Porting Lib Accessors: 2.3.5-beta.33+1.20.1
	Porting Lib Attributes: 2.3.5-beta.33+1.20.1
	Porting Lib Base: 2.3.5-beta.33+1.20.1
	Porting Lib Brewing: 2.3.5-beta.33+1.20.1
	Porting Lib Client Events: 2.3.5-beta.33+1.20.1
	Porting Lib Common: 2.3.5-beta.33+1.20.1
	Porting Lib Config: 2.3.5-beta.33+1.20.1
	Porting Lib Core: 2.3.5-beta.33+1.20.1
	Porting Lib Data: 2.1.1090+1.20
	Porting Lib Entity: 2.3.5-beta.33+1.20.1
	Porting Lib Extensions: 2.3.5-beta.33+1.20.1
	Porting Lib Fluids: 2.3.5-beta.33+1.20.1
	Porting Lib GameTest: 2.1.1090+1.20
	Porting Lib Gui Utils: 2.3.5-beta.33+1.20.1
	Porting Lib Lazy Register: 2.3.5-beta.33+1.20.1
	Porting Lib Mixin Extensions: 2.3.5-beta.33+1.20.1
	Porting Lib Model Generators: 2.1.1090+1.20
	Porting Lib Model Loader: 2.3.5-beta.33+1.20.1
	Porting Lib Model Materials: 2.1.1090+1.20
	Porting Lib Models: 2.3.5-beta.33+1.20.1
	Porting Lib Networking: 2.3.5-beta.33+1.20.1
	Porting Lib Obj Loader: 2.3.5-beta.33+1.20.1
	Porting Lib Tags: 3.0
	Porting Lib Tool Actions: 2.3.5-beta.33+1.20.1
	Porting Lib Transfer: 2.3.5-beta.33+1.20.1
	Porting Lib Utility: 2.3.5-beta.33+1.20.1
	Reach Entity Attributes: 2.4.0
	Registrate for Fabric: 1.3.79-MC1.20.1

Tag mismatch, the recipe is using https://github.com/Fabricators-of-Create/Create/blob/0f58b606f1301fc742367c8ed79d3fc080ee6610/src/generated/resources/data/create/recipes/smelting/zinc_ingot_from_raw_ore.json#L7 on all three dev branches.
This tag is only present on mc1.18/fabric/dev, the other two still assign raw zinc to c:raw_zinc_ores (ex: https://github.com/Fabricators-of-Create/Create/blob/mc1.20.1/fabric/dev/src/generated/resources/data/c/tags/items/raw_zinc_ores.json)
Imo a bit odd to have switched to the new shared loader tag format for these versions when Fabric itself doesn't seem to have backported them.

repo: Fabricators-of-Create/Create


text:
refactored dockerfiles to reduce image sizes

Update Ruby to 3.2.2;
Add redis and helper services to docker-compose;
Refactored dockerfile for client  - use node:18-alpine and multi stage build to reduce image size
Refactored dockerfile for api - use ruby:3.2.2-slim-bullseye and update dependencies to reduce image size

Time to build ~ 122s
Image sizes: client reduced from 1.27GB to 309MB. rails api reduced from 1.07GB to 678MB

This addresses issue #172

Significantly reduced time to stop containers: from ~10+ seconds for client to 0.4s

repo: Fantasy-Fit/fantasy-fit-web


text:
onChangeText is not working

<GoogleAutoCompleteAddress
onPress={(data, details = null) => {
this.fetchGoogleLocationDetails(details);
}}
textInputProps={{
value:lossAddress,
onChangeText:{_onChangeTextValue()}
}}
editable={true}
autoFocus={false} />
onChangeText is not working and showing syntax error

Please provide a reproducible example.

authors: NareshNama bell-steven


text:
End stops don't work on after new release

my.farmbot.io
You disable endstops?

@Daniil145 sorry about that, they werent disabled, but there was a new version of teh Arduino Firmware released.
Could you try disabling and re enabling end stops?

@ConnorRigby I dont understand "disabling and re enabling end stops" on interface dont have toggle off and on Endpoints. What can I do to activate them? With the loss of the Internet (especially when I use mobile Internet) the system behaves unpredictably. Especially this is critical for the Z axis. To do this, I need limit switches.

Oh sorry i didnt realize they werent on the interface any more.
@RickCarlino any thoughts on this one?

@Daniil145 I've recently added endstop toggle buttons to the device panel. They will be available in the next production release (probably this week).

@Daniil145 We just did a production deploy. Please let us know if you find any issues.

authors: ConnorRigby Daniil145 RickCarlino


text:
FB-1895: Implement DateTimeFromParts

this uses the tiem.date() function

Well, I have to add limits to the time ranges. For example, dax expects the year range [0 , 9999]. I'll update the code and re request to review.

Looks good to me.

authors: rachithrr vkrishnanfb

repo: FeatureBaseDB/featurebase


text:
🛑 Foundry VTT 004 is down

In 68fdc25, Foundry VTT 004 ($FOUNDRY004) was down:

HTTP code: 502
Response time: 93 ms

Resolved: Foundry VTT 004 is back up in a67397c after 7 minutes.


text:
Error if nothing was selected

Open Command Center
Type some gibberish until the filtered list list empty
Hit <ENTER>

Alternatively, open Command Center without and bindings added and hit <ENTER>.
E5108: Error executing lua ...mand_center/lua/telescope/_extensions/command_center.lua:151: attempt to index local 'selection' (a nil value)
stack traceback:
        ...mand_center/lua/telescope/_extensions/command_center.lua:151: in function 'run_replace_or_original'
        ...ite/pack/paqs/opt/telescope/lua/telescope/actions/mt.lua:65: in function 'key_func'
        .../site/pack/paqs/opt/telescope/lua/telescope/mappings.lua:242: in function 'execute_keymap'
        [string ":lua"]:1: in main chunk

Telescope + CC config:
telescope.setup {
  extensions = {
    command_center = {
      -- Change what to show on telescope prompt and in which order
      -- Currently support the following three components
      -- Components may repeat
      components = {
        command_center.component.DESCRIPTION,
        command_center.component.KEYBINDINGS,
        -- command_center.component.COMMAND,
      },
      -- Change the separator used to separate each component
      separator = " ",
      -- When set to false,
      -- The description compoenent will be empty if it is not specified
      auto_replace_desc_with_cmd = false,
    }
  }
}

-- Plug Command Center into Telescope
telescope.load_extension('command_center')

Fixed in e3b32c7a2b8ffbb92bd4b7158fcb44eb40ba5d20

authors: FeiyouG bugabinga


text:
🛑 CloudIntegration Public is down

In fac0c13, CloudIntegration Public (https://cloudintegration.eu/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CloudIntegration Public is back up in 07ac218 after 1 hour, 57 minutes.

repo: Fellow-Consulting-AG/upptime


text:
🛑 Extraction and Classifications API is down

In 27ee5ad, Extraction and Classifications API (https://fellowkv2.cloudintegration.eu/) was down:

HTTP code: 503
Response time: 499 ms

Resolved: Extraction and Classifications API is back up in 011424c after 8 minutes.


text:
Adding a seperate line for admin in readme.md file and creating a Contributors table which updates automatically.

As of now , the Contributors table in the readme.md file is not up to date. Moreover one needs to update it manually each and every time. I wanna automate this by adding a new Contributors table which will update by itself.
Moreover , I wanna add a separate line to showcase the Project Admin if you want.

Can you please assign this to me ?
Thanks.

Can you please assign this to me ?
Thanks.

Great!

Hey @Femme-js , I've made a PR.
Please have a look,

repo: Femme-js/Hoaxify


text:
Основной сайт недоступен из-за CF

Это полностью исключает прямой доступ и усложняет проксирование до уровня, что нам лень думать как его настраивать.

это тоже всплывет снова? Многие веб-сайты сегодня активируют cloudflare, я не знаю, является ли это хаосом, который остановил многие экземпляры nhentai.

разрешилось само собой, кф убрали


text:
Considering a Environment Manager

@lesniakt Do you have any opinions/thoughts on our environment management strategy? Now would be a good time to switch rather then later.
I would like to stick with the anaconda environment and rename the environment so it doesn't overlap with the standard FINM environment used in classes and august review. This approach would be very familiar to new members coming from the FINM program. When we have tests we would build the package locally using pip install . -e  and test would be run through a build instead of importing it from the folder over.
Using pipenv will make it easier to upgrade package versions. This allows you to run a command pipenv lock which upgrades all your package versions. We can also set this up so it automatically builds and installs the local package. I've worked with this a ton and is great. The downside being that the setup is different making it less friendly to new contributers in the FINM department.
If possible we should prioritize making ease of development for new contributers. I don't have a ton of experience upgrading an anaconda env so please add some thoughts if you have. I imagine we would simply reinstall the whole anaconda env (without version locks) and then update the requirements files.

I've personally not used pipenv. Typically for quick and dirty projects venv is sufficient, and for larger scale projects, especially production projects, I tend to see Conda used as usually there are non-python dependencies involved.
From the literature I've read, it seems like non-python dependencies is where pipenv would struggle. Numpy and scipy come to mind as potentially requiring non-python dependencies -- but again I haven't played with it. I would be curious how reproducible pipenv is with those, as this package will presumable use those dependencies,
I think the typical student in this program is just editing from requirements.txt files, so I share your concern on simplicity here.
My lean would be to just use the existing requirements.txt workflow until we have some level of code coverage. I think that is a reasonable prerequisite to have before changing environment management workflows, as we'll want reasonable certainty that the changes don't break workflows accidentally.
Regarding "ease of use" for upgrading packages, I would suggest looking at integration with RenovateBot. A quick looks says both conda/pipenv are supported. Again, we'd want code coverage in place before doing this.

repo: Fernando-Urbano/portfolio-management


text:
Projection with _id returns all fields

Versions
commit.txt: a06bd4bf1832bceed7189cff07d788cdb11e2155
version.txt: v0.9.4-1-ga06bd4bf
What did you do?
See repro in #2298.
What did you expect to see?
2 documents returned with just the _id field.
What did you see instead?
All fields.
Environment
- OS: Ubuntu
- Architecture: x86_64
- Version: 22.10
- Go: go version go1.20 linux/amd64
- Git: 2.37.2
- Deployment: Docker
- Deployment details: 23.0.1

See repro in https://github.com/FerretDB/FerretDB/pull/2298.

That PR should be re-opened and updated to check that this issue is indeed fixed

repo: FerretDB/FerretDB


text:
Use iterators for projections

After #2254.

Description
Closes #{issue_number}.

Readiness checklist

[ ] I added/updated unit tests.
[ ] I added/updated integration/compatibility tests.
[ ] I added/updated comments and checked rendering.
[ ] I made spot refactorings.
[ ] I updated user documentation.
[ ] I ran task all, and it passed.
[ ] I ensured that PR title is good enough for the changelog.
[ ] (for maintainers only) I set Reviewers (@FerretDB/core), Assignee, Labels, Project and project's Sprint fields.
[ ] I marked all done items in this checklist.

Merged into #2254.


text:
Make testFindAndModifyCompat work with compatTestCaseResultType

Description
Closes #2734.

Readiness checklist

[ ] I added/updated unit tests.
[x] I added/updated integration/compatibility tests.
[ ] I added/updated comments and checked rendering.
[x] I made spot refactorings.
[ ] I updated user documentation.
[ ] I ran task all, and it passed.
[x] I ensured that PR title is good enough for the changelog.
[x] (for maintainers only) I set Reviewers (@FerretDB/core), Labels, Project and project's Sprint fields.
[x] I marked all done items in this checklist.

@w84thesun ah, thanks for checking! I haven't pushed the code 😅


text:
Please ensure the server is running the latest version of all mod content

I get this issue whenever I try to join my server.
"Please ensure the server you are trying to join is running the latest version of all mod content"
Why?
~$ arkmanager checkmodupdate --updatemods  @crystal
Running command 'checkmodupdate' for instance 'crystal'
All mods are up to date

EDIT
huh, now it works without anything changing. odd.

It could have been that the client hadn't finished updating its mods.  Since mods do not have any inherent version, there is no way to tell whether the server or client has more up-to-date mods.

repo: FezVrasta/ark-server-tools


text:
Minor improvements

Just a bit of cleaning up.
Avoid doing the same job (loading the config) twice and move all the checks to top-level hooks.

I noticed that all the possible variable including the absolute path of the project where being added to the generated lambda so the last commit cleans that so only necessary variables are included.

repo: FidelLimited/serverless-plugin-warmup


text:
Implement log levels

Implement different log levels (Error, debug, info, etc).
Have log messages be able to be hidden or shown based on build environment variable or changed via a serial user interface

Implemented in a3bf35b2de76ca4b34aaf711bda04b4a4842dd4e

repo: Field-Programmable-Smartwatch/firmware


text:
Refactor and remove OrgProfileComplete page, instead use the ProfileCompleted page

The call to action button should say View Help Board unless the unlogged in user clicked on Create a Post and went through the sign up process, in which case it should say Continue posting
Currently the pages look like this:
OrgProfileComplete

ProfileCompleted

@jyclam I'll take this on, but I wanted to clarify the ask here. It says "Refactor and remove OrgProfileComplete page". Am I refactoring OrgProfileComplete, or completely deleting it and just using "ProfileCompleted" where "OrgProfileComplete" is used?

Didn't mean to close. Let me know your thoughts on the above. I wanted to make sure I know what is wanted here before proceeding.

Also, how can i differentiate whether the user went through "Create Post" and then signed up, or whether they signed up the usual way.?

Hi @kterry1, from my understanding, there are 2 different pages (UI wise) that are trying to accomplish the same function. The main difference is the 2nd CTA changes depending on the path that you went through. With the ProfileCompleted page, we should be able to do everything that is needed.
There are 3 paths with the last CTA that changes.
1- if you click in register -> Check the Help Board
2- if you try to make a comment + like and you aren't signed in. -> Check the Post (the post that you were liking or commenting)
3- if you click on Create Post and you aren't signed in. -> Continue Posting
Let me know if there are other questions🙏🏽

Thanks @manualzuru! I'll dig into it today and see what I can do.

@jyclam @manualzuru So I did some testing with this. Since the Sign In, Create a post, and Join Now buttons all take you to '/auth/signup', I'm not seeing a way to conditionally render based on the path the user took to get to '/profile-completed' or '/create-organisation-complete' and have it all happen in one page. If the wording of that button is really important, then I'd say we could stick with multiple pages, otherwise, here is what I had so far, but I don't think it really accomplishes what is asked for: https://share.getcloudapp.com/OAuqOwG0
Maybe @joshmorel or @idjevm have an idea?
Side note: We need to change all instances of "organisation" in the codebase to "organization".

You can probably do a conditional sessionStorage like here https://github.com/FightPandemics/FightPandemics/blob/487e856300292dc7e754be23134b4025d3dfdb82/client/src/pages/PostPage.js#L162
https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage

I'll give that a try. Thanks!

The fix is based on jyclam's original post as it made the most sense.

@kterry1 @jyclam  Sorry I didn't take a look at this early when you tagged me - since the PR is in.
I'm really apprehensive about using the same file/component for different routes. It can result in a hard to maintain situation as I see with our "Login.js" file - see #1164  (that one is more complex, so not exactly comparable but similar principle).
I think it would be better to have more re-usable components for similar pages but use one top-level file per route. You see this with a lot of filesystem based frameworks like vuex/next.js etc and I think it's a good approach.
With this PR #1328 - we need to fix the issues - but we should decide:

Make an exception here - and address the issues as described in my first comment in the PR
Or come up with a rule and stick to it - one file per route

Thoughts @robinv85 @idjevm ?

Also I did try to figure out what the design's flow is supposed to be after create org complete in Figma but it wasn't clear (https://www.figma.com/file/kT6SJLL4v3w06yFF2cGIun/FightPandemics-MVP?node-id=1852%3A8716). Is "View my profile" always supposed to go to MY profile as opposed to the recently created organisation's profile (current state). The latter makes more sense but the design doesn't indicate which. But also in such a case I'd expect the label to be different "View organisation" instead.
Maybe the design was incomplete after copy/paste from user profile? Any insight into this @manualzuru

authors: joshmorel jyclam kterry1 manualzuru

repo: FightPandemics/FightPandemics


text:
User Store 9.1-Unable to set the role for a member after accepting the applicant

Unable to set the role for a member after accepting the applicant.
please see the record on , near the end starting from 1:30
https://app.slack.com/client/T010BHVS3EF/C010BHVT1MZ/files/F022X4NME85

@adorapham Bug fix issued

@ChunPingYang @xJamesScott   Looks like the issue is not fixed .

As an individual user even after  i join the Org "Join Us" CTA button is not disabled .
Even when my application as an individual has been accepted "Join Us " CTA button is kept enabled. The individual name is listed as member in Members Tab.
As a owner of the account , unable to set the role permission.
The static data is populated in the Role description for Wiki editor and Administrator.

https://user-images.githubusercontent.com/51660881/120036342-01d77e00-bfce-11eb-88e5-8639e007f2f9.mp4
https://user-images.githubusercontent.com/51660881/120036352-04d26e80-bfce-11eb-946f-2ca737365fdf.mp4
https://user-images.githubusercontent.com/51660881/120036373-0c921300-bfce-11eb-8856-7310b676ecfc.mp4
https://user-images.githubusercontent.com/51660881/120036393-1287f400-bfce-11eb-9b03-2fa09c872adb.mp4

authors: adorapham hiran11 xJamesScott


text:
User Profile - Front End

[ ] frontend user profile

Here is the Requirements for Create Individual Profile UI
https://www.notion.so/fightpandemics/Create-Individual-Profile-UI-cf719e2292874303a2ce943c912bdbf3

Finished styling the user profile,
created edit-profile / edit-account routes and components

wip

styling on edit-profile and edit-account components
handle data flow for my activity in user profile

@CeesWang - any updates on this issue?

@indirabhowmick talking to T-Allen regarding further progress.

@CeesWang Thanks for the update. Please keep us posted on the progress of the issue

@CeesWang @T-Allen is this solved?

@manualzuru is this the same as issue #176 ?

It is the same mobile and desktop only styling changes depending on the device @T-Allen

I'm still confused, because going by what's on Zeplin, the pages seem quite different:
create-profile (desktop)
create-profile (mobile)
edit-profile (desktop)
edit-account-info (desktop)

@T-Allen by Mobile we meant mobile web not the native mobile app. Please reach out if there are any questions.

@indirabhowmick Right, I am working on the web app.

@T-Allen you are right. Those are 2 different screens, you are right. We need both for having profile.

Can we update this ticket or add another ticket and maybe tags to have a better view on the user profile status?
The user v2 data model is not implemented yet and I'm working on "create user" so I think both of these edit / view user aren't implemented with API yet?

No they are not implemented with API yet
On Tue, May 26, 2020 at 5:27 PM Robin Venneman notifications@github.com
wrote:

Can we update this ticket or add another ticket and maybe tags to have a
better view on the user profile status?
The user v2 data model is not implemented yet and I'm working on "create
user" so I think both of these edit / view user aren't implemented with API
yet?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/FightPandemics/FightPandemics/issues/50#issuecomment-634288870,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIAFWLSDD5OCCSNYDMC6JBLRTQX5DANCNFSM4L4OHU2Q
.

@CeesWang i'm working on this to finish some details and integrate with API

@robinv85 awesome let me know if theres anything I can do regarding this issue

authors: CeesWang MohamedEl1 T-Allen indirabhowmick manualzuru robinv85


text:
Should also export a viewing key

The Zcash protocol also has support for view keys. Views keys can determine if a tx has been received but not spend them.
I don't believe there is any support for view keys in the full node wallet yet but we could generate and export a view key that could immediately be imported by a user's full node.

Ah wonderful, I thought they didn't exist and wished they did.
Yep, let's add them, and add a mode to input the secret key instead of generating it, to get address/view key from a saved key.

authors: FiloSottile zmanian

repo: FiloSottile/zcash-mini


text:
Fixed Grammar Issues and made it clearer and easier to read. Turkish

I hate Polite suffixes

Thank you! Merging now.

authors: FinalForEach scoundri

repo: FinalForEach/Cosmic-Reach-Localization


text:
Element polyfill fails on UCBrowser Mini

The Element polyfill fails on UCBrowser Mini because

document node cannot have more than one child
The polyfill uses attachEvent. The event onpropertychange proprietary to IE. Irrespective of that, using addEventListener will prevent it from failing completely on other browsers that require Element polyfill.
createElement('*') is used, which is not valid.

Closing this as per https://github.com/Financial-Times/polyfill-service/pull/1201

repo: Financial-Times/polyfill-service


text:
Revert "feat: apply the changes of Finschia v3.0.0-rc1"

Reverts Finschia/finschia-proxy#34

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 55.45%. Comparing base (2961479) to head (d2b5672).

Additional details and impacted files

@@           Coverage Diff           @@
##             main      #35   +/-   ##
=======================================
  Coverage   55.45%   55.45%
=======================================
  Files          12       12
  Lines        1502     1502
=======================================
  Hits          833      833
  Misses        616      616
  Partials       53       53

Files
Coverage Δ

ante/ante.go
62.50% <ø> (ø)

ante/txfilter.go
85.93% <ø> (ø)

app/ante.go
0.00% <ø> (ø)

app/app.go
83.33% <ø> (ø)

app/encoding.go
100.00% <ø> (ø)

cmd/fnsad-proxy/cmd/root.go
34.20% <ø> (ø)

authors: codecov-commenter zemyblue

repo: Finschia/finschia-proxy


text:
How can I get unify code from emoji?

How can I get unify code from emoji?
I click 'grinning face', its unified code is 1F600.
How can I get that value from emoji picker?
https://unicode.org/emoji/charts-13.0/full-emoji-list.html
Thank you very much

A emoji consists of runes. Simple emoji's like 'grinning face' only have 1 rune, if you add skin color etc they will have multiple runes. 1F600 is Hex which is nothing else like a number. So in dart the runes are from type Integer and you can easily format them to hex.
EmojiPicker(
                      onEmojiSelected: (Category category, Emoji emoji) {
                        emoji.emoji.runes.forEach((element) {
                          print(element.toRadixString(16));
                        });
                      }
                      ...
)

I hope that helps you !

Thank you very much @Fintasys .
It is working
Thank you very much 🙏

When i select country flag..using emoji.emoji.runes.forEach((element) {                 print(element.toRadixString(16)); // 1F600             }); doesn't seem to work as country flag emoji unicode should be in this form (U+1F1E6-1F1EE)

authors: EmmanyTaskWorld Fintasys tzthantzin


text:
[firestore-scheduled-writes] Error logs appear even with successful writes

Expected Behavior
Logging should be successful and not contain error logs when a successful rite has been made.
Actual Behavior
An error log appears, stating the document cannot be found. The extensions appear to have worked as expected.
Steps to Reproduce the Problem

Follow standard directions for installation in README.
Run the example code snippet

const TEN_MINUTES_MS = 10 * 60 * 1000;

firebase
  .firestore()
  .collection("queued_writes")
  .add({
    state: "PENDING",
    data: { message: "Hello from the future!" },
    deliverTime: firebase.firestore.Timestamp.fromMillis(
      Date.now() + TEN_MINUTES_MS
    )
  });

What happened? How can we make the problem occur?
￼

Specifications

Extension name: firestore-schedule-writes
Version: 0.0.1

Is this being worked on?
If not I could issue a PR.

PR would be great! I didn't notice this issue until just now
On Fri, Jun 4, 2021, 6:43 AM YannicEl @.***> wrote:

Is this being worked on?
If not I could issue a PR.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/FirebaseExtended/experimental-extensions/issues/31#issuecomment-854733896,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAH7S4CDQ365E2STOJ7E3TRDKANANCNFSM4WOHEFWA
.

the PR is ready

authors: YannicEl dackers86 mbleigh


text:
[firebase_ml_vision] PDF417 reader is not working for DL

Trying to read a PDF417 barcode for a US DL using the new barcode library instead of the one from Google Mobile Vision but your lib is not properly reading and camera is unusable for Samsung S8 when resolution is set to ResolutionPreset.high.
Any ideas how can we use this feature from the new API?
I am testing with the example but I am not getting any good results.
Thank you

Hi @aantelov87
can you please provide your flutter doctor -v and flutter run --verbose?
Are you using official firebase_ml_vision example?
Thank you

Hi @TahaTesser
Yes, I am using the official firebase_ml_vision example but I just changed the following line
https://github.com/FirebaseExtended/flutterfire/blob/master/packages/firebase_ml_vision/example/lib/material_barcode_scanner.dart#L156
with
final ResolutionPreset preset = ResolutionPreset.high;
because with the resolution used in the official example, the detector is not able to detect PDF417 barcode for DL.
In the attachment flutter run --verbose when the resolution is set to high for PDF417 detection.
Please, let me know if you need anything else.
`flutter doctor -v
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.15.3 19D76, locale en-US)
• Flutter version 1.12.13+hotfix.8 at /Users/aantelov/GPN/flutter
• Framework revision 0b8abb4724 (6 weeks ago), 2020-02-11 11:44:36 -0800
• Engine revision e1e6ced81d
• Dart version 2.7.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/aantelov/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.3
• ANDROID_HOME = /Users/aantelov/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.
[!] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
• CocoaPods version 1.9.0
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
[✓] Connected device (1 available)
• SM G950F • ce06182664a6821703 • android-arm64 • Android 9 (API 28)
`
output-modified.txt

Hello @TahaTesser
Have I added the issue in the correct project?  because it looks like nobody is looking into this since 6 days ago.

repo: FirebaseExtended/flutterfire


text:
🐛 [Firebase_Auth] PhoneAuthProvider.credential() returns AuthCredential instead of PhoneAuthCredential

Bug report
Calling PhoneAuthProvider.credential() returns AuthCredential instead of PhoneAuthCredential as stated in the docs
Steps to reproduce
Steps to reproduce the behavior:

Follow steps to set up phone verification as per the documentation: https://firebase.flutter.dev/docs/auth/phone/

Expected behavior
PhoneAuthProvider.credential() should return an PhoneAuthCredential when provided the verificationId and smsCode.

Additional context
The expected  return type of PhoneAuthCredential will enable updating of the user phone number when calling FirebaseAuth.instance.currentUser.updatePhoneNumber(phoneCredential).

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[✓] Flutter (Channel stable, 1.22.1, on Microsoft Windows [Version 10.0.19041.508], locale en-US)

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.50.1)
[✓] VS Code, 64-bit edition (version 1.50.1)
[✓] Connected device (1 available)

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.10.1
Flutter SDK 1.22.1
manager 1.0.0+1

dependencies:
- after_layout 1.0.7+2 [flutter]
- auto_route 0.6.9 [flutter meta]
- cached_network_image 2.3.3 [flutter flutter_cache_manager octo_image]
- carousel_slider 2.3.1 [flutter]
- cloud_firestore 0.14.1+3 [flutter meta quiver firebase_core firebase_core_platform_interface cloud_firestore_platform_interface cloud_firestore_web]
- cloud_functions 0.6.0+1 [meta flutter firebase_core cloud_functions_platform_interface cloud_functions_web]
- connectivity 0.4.9+5 [flutter meta connectivity_platform_interface connectivity_macos connectivity_for_web]
- cupertino_icons 1.0.0
- firebase_analytics 6.0.2 [meta flutter firebase_core firebase_analytics_web firebase_analytics_platform_interface]- firebase_auth 0.18.1+2 [meta firebase_core firebase_core_platform_interface firebase_auth_platform_interface firebase_auth_web flutter]
- firebase_core 0.5.0+1 [firebase_core_platform_interface flutter quiver meta firebase_core_web]
- firebase_messaging 7.0.3 [meta flutter firebase_core]
- firebase_performance 0.4.0+2 [flutter firebase_core]
- firebase_storage 4.0.1 [flutter firebase_core]
- fl_chart 0.12.0 [flutter path_drawing equatable]
- flushbar 1.10.4 [flutter]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_dotenv 2.1.0 [flutter meta]
- flutter_image_compress 0.7.0 [flutter]
- flutter_picker 1.1.5 [flutter]
- flutter_riverpod 0.11.2 [flutter collection riverpod state_notifier meta]
- flutter_spinkit 4.1.2+1 [flutter]
- image_cropper 1.3.1 [flutter]
- image_picker 0.6.7+12 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- intl 0.16.1 [path]
- path_provider 1.6.21 [flutter path_provider_platform_interface path_provider_macos path_provider_linux path_provider_windows]
- permission_handler 5.0.1+1 [flutter meta permission_handler_platform_interface]
- photo_view 0.10.2 [flutter]
- rxdart 0.24.1
- shimmer 1.1.2 [flutter]
- tuple 1.0.3 [quiver]
- url_launcher 5.7.5 [flutter url_launcher_platform_interface url_launcher_web url_launcher_linux url_launcher_macos url_launcher_windows]

dev dependencies:
- auto_route_generator 0.6.10 [build source_gen analyzer path build_runner auto_route]
- build_runner 1.10.3 [args async build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style glob graphs http_multi_server io js logging meta mime path pedantic pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]
- lint 1.3.0

transitive dependencies:
- _fe_analyzer_shared 11.0.0 [meta]
- analyzer 0.40.4 [_fe_analyzer_shared args charcode cli_util collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- args 1.6.0
- async 2.5.0-nullsafety.1 [collection]
- boolean_selector 2.1.0-nullsafety.1 [source_span string_scanner]
- build 1.5.0 [analyzer async convert crypto logging meta path glob]
- build_config 0.4.2 [checked_yaml json_annotation meta path pubspec_parse yaml]
- build_daemon 2.1.4 [built_collection built_value http_multi_server logging pedantic path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 1.4.1 [analyzer build crypto graphs logging meta path package_config pool pub_semver]
- build_runner_core 6.0.3 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta path package_config pedantic pool timing watcher yaml]
- built_collection 4.3.2 [collection quiver]
- built_value 7.1.0 [built_collection collection fixnum quiver]
- characters 1.1.0-nullsafety.3
- charcode 1.2.0-nullsafety.1
- checked_yaml 1.0.2 [json_annotation source_span yaml]
- cli_util 0.2.0 [path]
- clock 1.1.0-nullsafety.1
- cloud_firestore_platform_interface 2.1.2 [flutter meta collection firebase_core plugin_platform_interface]
- cloud_firestore_web 0.2.0+4 [flutter flutter_web_plugins firebase http_parser meta firebase_core cloud_firestore_platform_interface js]
- cloud_functions_platform_interface 2.0.0 [flutter meta firebase_core plugin_platform_interface]
- cloud_functions_web 2.0.0 [cloud_functions_platform_interface flutter flutter_web_plugins firebase http_parser meta]
- code_builder 3.5.0 [built_collection built_value collection matcher meta]
- collection 1.15.0-nullsafety.3
- connectivity_for_web 0.3.1+2 [connectivity_platform_interface flutter_web_plugins flutter]
- connectivity_macos 0.1.0+5 [flutter]
- connectivity_platform_interface 1.0.6 [flutter meta plugin_platform_interface]
- convert 2.1.1 [charcode typed_data]
- crypto 2.1.5 [collection convert typed_data]
- dart_style 1.3.7 [analyzer args path source_span]
- equatable 1.2.5 [collection meta]
- fake_async 1.2.0-nullsafety.1 [clock collection]
- ffi 0.1.3
- file 5.2.1 [intl meta path]
- firebase 7.3.0 [http http_parser js]
- firebase_analytics_platform_interface 1.0.3 [flutter meta]
- firebase_analytics_web 0.1.1 [flutter flutter_web_plugins firebase firebase_analytics_platform_interface meta]
- firebase_auth_platform_interface 2.1.1 [flutter meta firebase_core plugin_platform_interface]
- firebase_auth_web 0.3.1+1 [flutter flutter_web_plugins firebase meta http_parser intl firebase_core firebase_auth_platform_interface js]
- firebase_core_platform_interface 2.0.0 [flutter meta plugin_platform_interface quiver]
- firebase_core_web 0.2.0 [firebase firebase_core_platform_interface flutter flutter_web_plugins meta js]
- fixnum 0.10.11
- flutter_blurhash 0.5.0 [flutter meta]
- flutter_cache_manager 1.4.2 [flutter path_provider uuid http path sqflite pedantic clock file rxdart]
- flutter_plugin_android_lifecycle 1.0.11 [flutter]
- flutter_web_plugins 0.0.0 [flutter characters collection meta typed_data vector_math]
- freezed_annotation 0.12.0 [collection json_annotation meta]
- glob 1.2.0 [async collection node_io path pedantic string_scanner]
- graphs 0.2.0
- http 0.12.2 [http_parser path pedantic]
- http_multi_server 2.2.0 [async]
- http_parser 3.1.4 [charcode collection source_span string_scanner typed_data]
- image_picker_platform_interface 1.1.1 [flutter meta http plugin_platform_interface]
- io 0.3.4 [charcode meta path string_scanner]
- js 0.6.2
- json_annotation 3.1.0
- logging 0.11.4
- matcher 0.12.10-nullsafety.1 [stack_trace]
- meta 1.3.0-nullsafety.3
- mime 0.9.7
- node_interop 1.1.1 [js]
- node_io 1.1.1 [node_interop path]
- octo_image 0.3.0 [flutter flutter_blurhash]
- package_config 1.9.3 [path charcode]
- path 1.8.0-nullsafety.1
- path_drawing 0.4.1+1 [vector_math meta path_parsing flutter]
- path_parsing 0.1.4 [vector_math meta]
- path_provider_linux 0.0.1+2 [path xdg_directories path_provider_platform_interface flutter]
- path_provider_macos 0.0.4+4 [flutter]
- path_provider_platform_interface 1.0.3 [flutter meta platform plugin_platform_interface]
- path_provider_windows 0.0.4+1 [path_provider_platform_interface meta path flutter ffi win32]
- pedantic 1.9.2 [meta]
- permission_handler_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- platform 2.2.1
- plugin_platform_interface 1.0.3 [meta]
- pool 1.4.0 [async stack_trace]
- process 3.0.13 [file intl meta path platform]
- pub_semver 1.4.4 [collection]
- pubspec_parse 0.1.5 [checked_yaml json_annotation pub_semver yaml]
- quiver 2.1.3 [matcher meta]
- riverpod 0.11.2 [meta collection freezed_annotation state_notifier]
- shelf 0.7.9 [async collection http_parser path stack_trace stream_channel]
- shelf_web_socket 0.2.3 [shelf web_socket_channel stream_channel]
- sky_engine 0.0.99
- source_gen 0.9.7+1 [analyzer async build dart_style glob meta path pedantic source_span]
- source_span 1.8.0-nullsafety.2 [charcode collection path term_glyph]
- sqflite 1.3.1+1 [flutter sqflite_common path]
- sqflite_common 1.0.2+1 [synchronized path meta]
- stack_trace 1.10.0-nullsafety.1 [path]
- state_notifier 0.6.0 [meta]
- stream_channel 2.1.0-nullsafety.1 [async]
- stream_transform 1.2.0
- string_scanner 1.1.0-nullsafety.1 [charcode source_span]
- synchronized 2.2.0+2
- term_glyph 1.2.0-nullsafety.1
- test_api 0.2.19-nullsafety.2 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timing 0.1.1+2 [json_annotation]
- typed_data 1.3.0-nullsafety.3 [collection]
- url_launcher_linux 0.0.1+1 [flutter]
- url_launcher_macos 0.0.1+8 [flutter]
- url_launcher_platform_interface 1.0.8 [flutter meta plugin_platform_interface]
- url_launcher_web 0.1.4+1 [url_launcher_platform_interface flutter flutter_web_plugins meta]
- url_launcher_windows 0.0.1+1 [flutter]
- uuid 2.2.2 [crypto convert]
- vector_math 2.1.0-nullsafety.3
- watcher 0.9.7+15 [async path pedantic]
- web_socket_channel 1.1.0 [async crypto stream_channel]
- win32 1.7.3 [ffi]
- xdg_directories 0.1.2 [meta path process]
- yaml 2.2.1 [charcode collection string_scanner source_span]

In the new version, you should expect an AuthCredential response.

How then do I get the PhoneAuthCredential to update a user's phone number? It could be done in the older version with the value PhoneAuthProvider.credential() returned. The official docs also state that PhoneAuthCredential should be the return type. Kinda confused.

Please refer to this link: https://firebase.flutter.dev/docs/auth/phone. Please confirm what version of flutter_auth you are using.

firebase_auth: ^0.18.1+2
Docs:
FirebaseAuth auth = FirebaseAuth.instance;

await auth.verifyPhoneNumber(
  phoneNumber: '+44 7123 123 456',
  codeSent: (String verificationId, int resendToken) async {
    // Update the UI - wait for the user to enter the SMS code
    String smsCode = 'xxxx';

    // Create a PhoneAuthCredential with the code
    PhoneAuthCredential phoneAuthCredential = PhoneAuthProvider.credential(verificationId: verificationId, smsCode: smsCode);

    // Sign the user in (or link) with the credential
    await auth.signInWithCredential(phoneAuthCredential);
  },
);

Please try replicating it to see what I mean.

There is an error with the documentation. Just do this:
FirebaseAuth auth = FirebaseAuth.instance;

await auth.verifyPhoneNumber(
  phoneNumber: '+44 7123 123 456',
  codeSent: (String verificationId, int resendToken) async {
    // Update the UI - wait for the user to enter the SMS code
    String smsCode = 'xxxx';

    // Create a PhoneAuthCredential with the code
     AuthCredential AuthCredential = PhoneAuthProvider.credential(verificationId: verificationId, smsCode: smsCode);

    // Sign the user in (or link) with the credential
    await auth.signInWithCredential(authCredential);
  },
);

The documentation does seem incorrect.
Official example:
https://github.com/FirebaseExtended/flutterfire/blob/2273334b4d661850f5120b5b3c96bb617a964d05/packages/firebase_auth/firebase_auth/example/lib/signin_page.dart#L473-L476

Documentation
PhoneAuthCredential phoneAuthCredential = PhoneAuthProvider.credential(verificationId: verificationId, smsCode: smsCode);

How do I submit a PR for changing the documentation for this issue? @markusaksli-nc

@rish07 These links should get you started
https://github.com/FirebaseExtended/flutterfire/blob/master/CONTRIBUTING.md
https://github.com/FirebaseExtended/flutterfire/blob/master/website/README.md
https://github.com/FirebaseExtended/flutterfire/blob/master/docs/auth/phone.mdx

What is the right way to update the user's phone number?

authors: PrincekO heychirag markusaksli-nc ollerandres rish07