Unable to set target rate below 0

Describe the bug
When 'maximum rate' value is set to below zero for a 'target rate' sensor, the sensor does not find any valid rates. This evening on agile we have a few below zero rates and I'm attempting to specifically target those rates.
Reproduction steps

Expected behaviour
Target Rate sensor provides timeslots at rates per configuration
Tariff Code
E-1R-AGILE-24-04-03-B
Integration Version
13.0.2
Home Assistant Version
2024.10.3
Fresh Install?
After upgrading
Home Assistant Logs
[custom_components.octopus_energy.target_rates.target_rate] calculated: False
2024-10-19 22:02:28.798 DEBUG (MainThread) [custom_components.octopus_energy.target_rates.target_rate] Updating OctopusEnergyTargetRate car_charge_3pin
2024-10-19 22:02:28.798 DEBUG (MainThread) [custom_components.octopus_energy.target_rates.target_rate] 142 rate periods found
2024-10-19 22:02:28.798 DEBUG (MainThread) [custom_components.octopus_energy.target_rates] 2024-10-19 21:02:00+00:00 is after 2024-10-19 15:00:00+00:00, so setting target end to tomorrow
2024-10-19 22:02:28.798 DEBUG (MainThread) [custom_components.octopus_energy.target_rates] Finding rates between 2024-10-19 21:02:00+00:00 and 2024-10-20 15:00:00+00:00
2024-10-19 22:02:28.798 DEBUG (MainThread) [custom_components.octopus_energy.target_rates] 0 applicable rates found
2024-10-19 22:02:28.798 DEBUG (MainThread) [custom_components.octopus_energy.target_rates.target_rate] calculated rates: []
2024-10-19 22:02:28.798 DEBUG (MainThread) [custom_components.octopus_energy.target_rates.target_rate] calculated: False
2024-10-19 22:02:28.799 DEBUG (MainThread) [custom_components.octopus_energy.target_rates.target_rate] calculated: False
2024-10-19 22:02:28.800 DEBUG (MainThread) [custom_components.octopus_energy.target_rates.target_rate] Updating OctopusEnergyTargetRate car_charge_ohme
2024-10-19 22:02:28.800 DEBUG (MainThread) [custom_components.octopus_energy.target_rates.target_rate] 142 rate periods found
2024-10-19 22:02:28.800 DEBUG (MainThread) [custom_components.octopus_energy.target_rates] 2024-10-19 21:02:00+00:00 is after 2024-10-19 15:00:00+00:00, so setting target end to tomorrow
2024-10-19 22:02:28.800 DEBUG (MainThread) [custom_components.octopus_energy.target_rates] Finding rates between 2024-10-19 21:02:00+00:00 and 2024-10-20 15:00:00+00:00
2024-10-19 22:02:28.800 DEBUG (MainThread) [custom_components.octopus_energy.target_rates] 0 applicable rates found
2024-10-19 22:02:28.800 DEBUG (MainThread) [custom_components.octopus_energy.target_rates.target_rate] calculated rates: []
2024-10-19 22:02:28.800 DEBUG (MainThread) [custom_components.octopus_energy.target_rates.target_rate] calculated: False
Confirmation

[X] I confirm that I cannot find my solution within the documentation
[X] I confirm that I cannot find my solution within the FAQ

Hello. Looking at https://agileprices.co.uk/?region=B and doing a quick test, this is working as expected.
According to the website, I'm assuming the times you were expecting to be targeted was -0.6p at 04:30 and -0.8p at 05:30. This equates to -£0.006 and -£0.008 respectively. Because you've set your maximum rate to -£0.01 (-1p), these rates fall outside of this range and therefore were filtered out. If you'd set your maximum rate to 0.00 (free), then these rates (along with others) would have been picked up.

That makes complete sense and apologies for my bad maths!


Remove template: java-postgresql

Removing template todo-java-postgresql from azure-dev.
Why:

The template is private on Azure-Samples org, only reachable by internal users.
The template is not within the azd template list, so it is not discoverable by customers.
This template is public from: https://github.com/fangjian0423 at: https://github.com/fangjian0423/todo-java-postgresql-terraform

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
No changes detected.

I defer to @savannahostrowski since I don't know the intent of the template on whether or not it should ever make it to the Azure-Samples org or just stay as a user contributed Awesome AZD template.

@vhvb1989 @savannahostrowski I believe the intention was to get them added to https://github.com/Azure/azure-dev/pull/1792, synced to https://github.com/Azure-Samples/todo-java-postgresql-terraform and add to the default list of azd templates.
@yiliuTo @fangjian0423 is that right?

Hi @rajeshkamal5050

I believe the intention was to get them added in azure-dev https://github.com/Azure/azure-dev/pull/1792, synced to https://github.com/Azure-Samples/todo-java-postgresql-terraform and add to the default list of azd templates.

I think so, but I am not quite sure of the context about this template, maybe we can wait @fangjian0423 for the response when he is back next week?

hi @rajeshkamal5050

I believe the intention was to get them added in azure-dev https://github.com/Azure/azure-dev/pull/1792, synced to https://github.com/Azure-Samples/todo-java-postgresql-terraform and add to the default list of azd templates.

It should be added in azure-dev. Since the UI, app, build config/codes are exactly the same as what we have for other java templates. The delta just being the terraform modules.

Expecting to update this version and make the template public.


Pass options through to fallback

Hello! Thanks for the great plugin.
When setting a file size limit for url-loader, I'd like to also set my own file naming pattern for files exceeding the limit. The default fallback (file-loader) has a name option which I've used in the past but, looking at line 44 of index.js, it seems that there's no attempt to pass any options through to the fallback loader.
Is this something that could easily be added?

@djbingham can you describe use case?

Basically, I wanted to add a hash into the file name for cache-busting, like this:
{
    loader: 'file-loader',
    options: {
        name: '[path][name].[hash].[ext]'
    }
}

However, I've since realised that invalidates all of the caching within the build process, which is absolutely not what I want, so that seems like a bad idea. I'll have to rethink my cache-busting strategy.

@evilebottnawi  @michael-ciniawsky
Hey, guys, I have the same problem
Is it possible to pass options to the fallback loader? For example to the file-loader in case if I want to set name option.
This code not working:
_fileLoaderName =
  name: (
    if forProduction
      '[name].[ext]?[hash]'
    else
      '[name].[ext]'
  )

urlLoader =
  test: /\.(jpe?g|png|gif|ico)$/
  use: [
    loader: 'url-loader'
    options: {
      limit: 8192 # 8 Kb
      fallback: "file-loader?#{JSON.stringify(_fileLoaderName)}"
    }
  ]

I've seen code here, should we update logic of the url-uploader to support this feature or how can we achieve same result?
To support something like this:
_fileLoader =
  loader: 'file-loader'
  options: {
    name: (
      if forProduction
        '[name].[ext]?[hash]'
      else
        '[name].[ext]'
    )

urlLoader =
  test: /\.(jpe?g|png|gif|ico)$/
  use: [
    loader: 'url-loader'
    options: {
      limit: 8192 # 8 Kb
      fallback: _fileLoader
    }
  ]

Is this issue solved? Why did it be closed?

¯_(ツ)_/¯


Localization fixes - punctuation and typo

Loc user story: https://dev.azure.com/mseng/TechnicalContent/_queries/edit/1612610
assorted minor fixes.

@TimShererWithAquent : Thanks for your contribution! The author(s) have been notified to review your proposed change.


box-shadow didn't work on mobile

Specifications:

html2canvas version tested with: html2canvas.min.1.0.0-rc.3.js
Browser & version: chrome 75.0.3770.100
Operating system: windows 10

Bug reports:
Add box-shadow , It's normal on PC.

** It has no shadow on mobile.**

U can try to switch to https://github.com/bubkoo/html-to-image


s3push fix

Improve error handling in ExternalBuild, StaticUtils, and s3push.  Add comprehensive tests for ExternalBuild, and some tests for s3push and StaticUtils.  Should fix #98.

@cliftonc @dbellizzi Take a look at this?  I was going to push it today, but was distracted by other work.

Added two returns, and checked for global command after local and warned when we override local with global.

Haven't had much of a chance to review with everything going on, but if you & Dom are OK then ship it.

I was waiting until all the launches died down.  I'll merge this early next week.

Is this good to go @geophree ?

This should be ready.  Well tested with unittests, but I don't have any experience with running s3push.  Also, it was US & tes.com launch, then I got pulled into the google sso stuff, then I was(/am) on vacation.

Ok, I'll check with real live projects and merge if it all looks good - enjoy your vacation.

I have commits to fix #55 #64 and #106 that are held up on this.  I may be able to factor around it, but I'd prefer to just PR them as-is.

Sorry for the delay - tested on site assets, works perfectly.  If gulp build fails we now get a non zero exit code.

If build succeeds, works perfectly.


WIP: Reaction frontend

This is tracking PR for #541. This is forked from  #2245.

Automated message from Dropbox CLA bot
@kracekumar, thanks for the pull request! It looks like you haven't yet signed the Dropbox CLA. Please sign it here.

@kracekumar I merged the initial emoji backend commit after fixing some things; you'll want to rebase, dropping the original backend commit from @arpith's branch.  Let me know if you need any help.

I took a quick look at your code for doing the fetching @kracekumar, and it looks like you've done a pretty reasonable job of achieving the main goal (not doing database queries in loops).  You'll likely need to update several backend tests (tools/test-backend to see the errors) to increase the database query count by 1.

@timabbott Today I will rebase to the latest master. Does it make sense to send get_old_messages fix alone as a separate PR?

Either a separate PR or a separate commit at the start of the branch; either way the goal will be to get that commit into shape and merge it next.

@kracekumar you might want to close this PR since we pulled in all the logic required in my branch

Automated message from Dropbox CLA bot
@kracekumar, thanks for signing the CLA!

@stanzheng You're correct.


Pokémon Not Showing Up At Current Location

Since the app is drawing the information from localhost:5000, it only shows Pokémon at the location the server is running or if you change your location on the localhost:5000 it will change it on the app. Is there any way to load pokémon based on current location In-App?

I'm pretty much that is on the to-do list, but correct me if I'm wrong.

@Shugabuga You are correct. Sorry, I must've missed that.


MONDO:0002368 synonyms and conflict with MONDO:0006302

Mondo term (ID Label)
papillary serous cystadenocarcinoma MONDO_0002368
Bug/Typo/Error description
includes a synonym that is the same pref name as MONDO:0006302 micropapillary serous carcinoma
Your nano-attribution (ORCID)
If you don't have an ORCID, you can sign up for one here

@kanems this is a narrow synonym on papillary serous cystadenocarcinoma MONDO_0002368 and it is being used by DO and NCIT, so I would prefer to leave it as is. If this is causing issues for you, please feel free to reopen this ticket, thanks!


upgrade to jasmine 2.0 / axe jasmine-node

jasmine-node is an old library, no longer maintained. We should upgrade to pure jasmine 2.0, gives us async support and a whole buncha other goodies.

Work being done here: https://github.com/filmaj/phonegap-cli/tree/jasmine2
It's ready to go, but relies on an unreleased version of jasmine2. So, just waiting for jasmine to release !


feat: redirect conditions of sale

This PR adds a permanent redirect from /conditions-of-sale to /supplemental-cos. This PR has a "Do not merge" label because the redirect destination has not yet been created. It is planned to be ready to launch by April 17, 2024.

Why not just update the text when we're ready?

So I don't have to think about this anymore.


how to add google analytics for this template ?

I saw your answer for the other template, but unfortunately, I tried hard to make things work for this template with no success.
I tried this one :
https://github.com/CaiJimmy/hugo-theme-stack/discussions/899#discussioncomment-7492782

I managed to make it works :
https://github.com/CaiJimmy/hugo-theme-stack/discussions/899#discussioncomment-10437053


Chat is unable to recognize context and keeps blocking public code

1- Copilot Chat keeps blocking public code matches even if I allowed it from settings.
2- Despite the chat's interface says that it is using the highlighted code as reference, Copilot is completely unable to recognize that it has the reference, so it must "assume".
Honestly I was enthusiastic at the beginning, but the more i use it, the more I think I'm wasting time.

Tried to re-install the entire VSCode environment, works better for now.

I have to re-reopen this issue because Chat is still unable to recognize the reference.

Ok, this is not solved. Chat keeps ignoring the highlighted code, despite it says that it is currently using it as reference:

This is beyond extremely annoying and bothering, absolutely unacceptable. Now, one can argue that the highlighted code is 'too long', but until this afternoon it was working fine.
I'm using VS Code in Ubuntu (version 22.04) WSL, Windows 11 Professional. As I specified above, I tried to reinstall everything, and it worked fine for like 10 mins, then it started again ignoring references. This is unacceptable.

In this one we can see that it is able to handle a shorter code, but not a longer one. Again, this is the first time I have this issue, since it was always able to read much larger code, even thousands of lines.

I've got exactly the same issue, and other issues seems similar ... @workspace seems to work, but i've already waste to many time with this shovelware today to investigate more !

After days of waiting, not even a reach from assistance. Closing the issue and deleting my subscription.

@Gleepoj  I agree with you, it's a showelware.  Sorry Github, but I cancel my subscription.


Update javascript to 7.8.0

Please update my adapter ioBroker.javascript to version 7.8.0.
This pull request was created by https://www.iobroker.dev c0726ff.

RE-CHECK!


Mimic look at mode stopped working after v0.8

Issue description
Setting a PhantomCamera3D's look at mode to mimic does not mimic the object it is looking at.
Steps to reproduce

add base nodes for phantom camera 3D setup
set PhantomCamera3D's look at mode to mimic
set PhantomCamera3D's look at object to a sibling(?) of the camera 3D
rotate the object that is supposed to be mimiced

(Optional) Minimal reproduction project
Mimic-min-repro-v0.8.zip
Mimic-min-repro-v0.7.3.zip

Good catch! Was a simple oversight for that particular Look At mode; will be fixed in the next release.
If you urgently need a fix for it, then you can just change the line on 892 to the following in phantom_camera_3d.gd:
## Before
## LookAtMode.MIMIC:
##  global_rotation = look_at_target.global_rotation

## After
LookAtMode.MIMIC:
  _transform_output.basis = look_at_target.global_basis
  global_basis = look_at_target.global_basis


ListView with PageStorageKey with TextField inside not keeping scroll position

Steps to Reproduce

The bug is occurs in the following code:
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: Scaffold(
        appBar: AppBar(
          title: Text('PageStorageKey bug app'),
        ),
        drawer: Drawer(
          child: ListView(
            physics: BouncingScrollPhysics(),
            key: const PageStorageKey<String>('key_app_drawer'),
            children: <Widget>[

              Container(height: 400, width: 100, color: Colors.red),
              Container(height: 400, width: 100, color: Colors.blue),
              Container(height: 400, width: 100, color: Colors.red),
              Container(height: 400, width: 100, color: Colors.blue),
              Container(height: 400, width: 100, color: Colors.green),

              TextField()

            ],
          ),
        ),
        body: Container(),
      )
    );
  }
}

Expected results:
The scroll position of the listview should not change when opening and closing the drawer.
Actual results:
If the listview in the drawer contains a textfield, after two drawer opens it returns to its top position.

Logs

[  +11 ms] executing: [/home/dan/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +20 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 8af6b2f038c1172e61d418869363a28dffec3cb4
[        ] executing: [/home/dan/flutter/] git tag --contains HEAD
[ +142 ms] Exit code 0 from: git tag --contains HEAD
[   +1 ms] 1.17.5
[   +5 ms] executing: [/home/dan/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/home/dan/flutter/] git ls-remote --get-url origin
[   +3 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +48 ms] executing: [/home/dan/flutter/] git rev-parse --abbrev-ref HEAD
[   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +14 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +8 ms] executing: /home/dan/Android/Sdk/platform-tools/adb devices -l
[  +24 ms] List of devices attached
           emulator-5554          device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:1
[  +11 ms] /home/dan/Android/Sdk/platform-tools/adb -s emulator-5554 shell getprop
[  +19 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +120 ms] Generating /home/dan/MEGA/_Programy/_Kotlin/flutter_bug/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +16 ms] ro.hardware = ranchu
[  +18 ms] Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[  +13 ms] Launching lib/main.dart on Android SDK built for x86 in debug mode...
[   +5 ms] /home/dan/flutter/bin/cache/dart-sdk/bin/dart /home/dan/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/dan/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter
--debugger-module-names -Ddart.developer.causal_async_stacks=true --output-dill /tmp/flutter_tool.FUISXK/app.dill --packages /home/dan/MEGA/_Programy/_Kotlin/flutter_bug/.packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root
[  +10 ms] executing: /home/dan/Android/Sdk/build-tools/30.0.0-rc4/aapt dump xmltree /home/dan/MEGA/_Programy/_Kotlin/flutter_bug/build/app/outputs/apk/app.apk AndroidManifest.xml
[   +4 ms] Exit code 0 from: /home/dan/Android/Sdk/build-tools/30.0.0-rc4/aapt dump xmltree /home/dan/MEGA/_Programy/_Kotlin/flutter_bug/build/app/outputs/apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.example.flutter_bug" (Raw: "com.example.flutter_bug")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="flutter_bug" (Raw: "flutter_bug")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.flutter_bug.MainActivity" (Raw: "com.example.flutter_bug.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=42)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=56)
                     E: action (line=57)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=59)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=66)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +5 ms] executing: /home/dan/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +11 ms] Exit code 0 from: /home/dan/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[        ] --------- beginning of main
           07-27 14:23:12.413 E/PlayCommon( 2473): [131] apap.c(229): Failed to connect to server for log upload.
[   +9 ms] <- compile package:flutter_bug/main.dart
[   +7 ms] executing: /home/dan/Android/Sdk/platform-tools/adb version
[  +15 ms] Android Debug Bridge version 1.0.41
           Version 30.0.3-6597393
           Installed as /home/dan/Android/Sdk/platform-tools/adb
[   +1 ms] executing: /home/dan/Android/Sdk/platform-tools/adb start-server
[   +5 ms] Building APK
[  +12 ms] Running Gradle task 'assembleDebug'...
[   +1 ms] gradle.properties already sets `android.enableR8`
[   +1 ms] Using gradle from /home/dan/MEGA/_Programy/_Kotlin/flutter_bug/android/gradlew.
[        ] /home/dan/MEGA/_Programy/_Kotlin/flutter_bug/android/gradlew mode: 33277 rwxrwxr-x.
[   +5 ms] executing: /snap/android-studio/90/android-studio/jre/bin/java -version
[  +47 ms] Exit code 0 from: /snap/android-studio/90/android-studio/jre/bin/java -version
[        ] openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
           OpenJDK 64-Bit Server VM (build 25.242-b3-6222593, mixed mode)
[   +3 ms] executing: [/home/dan/MEGA/_Programy/_Kotlin/flutter_bug/android/] /home/dan/MEGA/_Programy/_Kotlin/flutter_bug/android/gradlew -Pverbose=true -Ptarget-platform=android-x86 -Ptarget=/home/dan/MEGA/_Programy/_Kotlin/flutter_bug/lib/main.dart
-Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[ +602 ms] > Task :app:compileFlutterBuildDebug UP-TO-DATE
[        ] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:checkDebugManifest UP-TO-DATE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders UP-TO-DATE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :app:mainApkListPersistenceDebug UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +181 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugResources UP-TO-DATE
[        ] > Task :app:compileDebugKotlin UP-TO-DATE
[        ] > Task :app:javaPreCompileDebug UP-TO-DATE
[        ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :app:compileDebugSources UP-TO-DATE
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[        ] > Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[        ] > Task :app:mergeExtDexDebug UP-TO-DATE
[        ] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:signingConfigWriterDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[  +95 ms] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[        ] Compatible side by side NDK version was not found.
[        ] > Task :app:packageDebug UP-TO-DATE
[  +35 ms] > Task :app:assembleDebug
[        ] BUILD SUCCESSFUL in 862ms
[        ] 31 actionable tasks: 4 executed, 27 up-to-date
[ +329 ms] Running Gradle task 'assembleDebug'... (completed in 1,3s)
[  +93 ms] calculateSha: LocalDirectory: '/home/dan/MEGA/_Programy/_Kotlin/flutter_bug/build/app/outputs/apk'/app.apk
[  +34 ms] calculateSha: reading file took 33us
[ +461 ms] calculateSha: computing sha took 461us
[   +2 ms] ✓ Built build/app/outputs/apk/debug/app-debug.apk.
[   +2 ms] executing: /home/dan/Android/Sdk/build-tools/30.0.0-rc4/aapt dump xmltree /home/dan/MEGA/_Programy/_Kotlin/flutter_bug/build/app/outputs/apk/app.apk AndroidManifest.xml
[   +5 ms] Exit code 0 from: /home/dan/Android/Sdk/build-tools/30.0.0-rc4/aapt dump xmltree /home/dan/MEGA/_Programy/_Kotlin/flutter_bug/build/app/outputs/apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.example.flutter_bug" (Raw: "com.example.flutter_bug")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="flutter_bug" (Raw: "flutter_bug")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.flutter_bug.MainActivity" (Raw: "com.example.flutter_bug.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=42)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=56)
                     E: action (line=57)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=59)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=66)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[        ] Stopping app 'app.apk' on Android SDK built for x86.
[        ] executing: /home/dan/Android/Sdk/platform-tools/adb -s emulator-5554 shell am force-stop com.example.flutter_bug
[  +23 ms] executing: /home/dan/Android/Sdk/platform-tools/adb -s emulator-5554 shell pm list packages com.example.flutter_bug
[ +190 ms] package:com.example.flutter_bug
[   +1 ms] executing: /home/dan/Android/Sdk/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.com.example.flutter_bug.sha1
[  +11 ms] 66c3a2468883735d6ac5ff6c08f99afbdadeb444
[        ] Latest build already installed.
[        ] Android SDK built for x86 startApp
[   +1 ms] executing: /home/dan/Android/Sdk/platform-tools/adb -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points
true com.example.flutter_bug/com.example.flutter_bug.MainActivity
[  +20 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.flutter_bug/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[ +365 ms] Observatory URL on device: http://<IP_ADDRESS>:57116/vLotOAI6K8Q=/
[   +1 ms] executing: /home/dan/Android/Sdk/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:57116
[   +6 ms] 33819
[        ] Forwarded host port 33819 to device port 57116 for Observatory
[+2074 ms] Connecting to service protocol: http://<IP_ADDRESS>:33819/vLotOAI6K8Q=/
[ +107 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:33819/vLotOAI6K8Q=/
[   +2 ms] Sending to VM service: getVM({})
[   +3 ms] Result: {type: VM, name: vm, architectureBits: 32, hostCPU: Android 32-bit virtual processor, operatingSystem: android, targetCPU: ia32, version: 2.8.4 (stable) (Wed Jun 3 12:26:04 2020 +0200) on "android_ia32", _profilerMode: VM, _nativeZoneMemoryUsage:
...
[   +3 ms] Sending to VM service: getIsolate({isolateId: isolates/854970111559179})
[   +2 ms] Sending to VM service: _flutter.listViews({})
[  +14 ms] Result: {type: Isolate, id: isolates/854970111559179, name: main, number:<PHONE_NUMBER>59179, _originNumber:<PHONE_NUMBER>59179, startTime:<PHONE_NUMBER>005, _heaps: {new: {type: HeapSpace, name: new, vmName: Scavenger, collections: 4, avgCollectionPeriodMillis:
6...
[   +8 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0xa363d390, isolate: {type: @Isolate, fixedId: true, id: isolates/854970111559179, name: main.dart$main-854970111559179, number:<PHONE_NUMBER>59179}}]}
[   +4 ms] DevFS: Creating new filesystem on the device (null)
[        ] Sending to VM service: _createDevFS({fsName: flutter_bug})
[  +12 ms] Result: {type: FileSystem, name: flutter_bug, uri: file:///data/user/0/com.example.flutter_bug/code_cache/flutter_bugGJPBEZ/flutter_bug/}
[        ] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.flutter_bug/code_cache/flutter_bugGJPBEZ/flutter_bug/)
[   +1 ms] Updating assets
[  +50 ms] Syncing files to device Android SDK built for x86...
[   +1 ms] Scanning asset files
[   +2 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[        ] <- recompile package:flutter_bug/main.dart e85b47af-1456-4e3a-a59e-95ab24355a73
[        ] <- e85b47af-1456-4e3a-a59e-95ab24355a73
[  +73 ms] Updating files
[  +79 ms] DevFS: Sync finished
[        ] Syncing files to device Android SDK built for x86... (completed in 156ms)
[        ] Synced 0.9MB.
[        ] Sending to VM service: _flutter.listViews({})
[   +1 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0xa363d390, isolate: {type: @Isolate, fixedId: true, id: isolates/854970111559179, name: main.dart$main-854970111559179, number:<PHONE_NUMBER>59179}}]}
[        ] <- accept
[        ] Connected to _flutterView/0xa363d390.
[        ] Flutter run key commands.
[        ] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on Android SDK built for x86 is available at: http://<IP_ADDRESS>:33819/vLotOAI6K8Q=/

Analyzing flutter_bug...
No issues found! (ran in 2.2s)

[✓] Flutter (Channel stable, v1.17.5, on Linux, locale pl_PL.UTF-8)
    • Flutter version 1.17.5 at /home/dan/flutter
    • Framework revision 8af6b2f038 (4 weeks ago), 2020-06-30 12:53:55 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.0-rc4)
    • Android SDK at /home/dan/Android/Sdk
    • Platform android-30, build-tools 30.0.0-rc4
    • ANDROID_HOME = /home/dan/Android/Sdk
    • Java binary at: /snap/android-studio/90/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    ✗ Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions.

[✓] Android Studio (version 4.0)
    • Android Studio at /snap/android-studio/90/android-studio
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)

! Doctor found issues in 1 category.

Hi @n3o2k7i8ch5
I can't reproduce this on dev nor stable channel.
I’m unable to reproduce the issue to pinpoint the cause. The issue needs further investigation.

 Flutter doctor -v (dev)
[✓] Flutter (Channel dev, 1.21.0-1.0.pre, on Mac OS X 10.15.5 19F101, locale
    en-AO)
    • Flutter version 1.21.0-1.0.pre at /Users/pedro/dev/SDKs/flutter_dev
    • Framework revision f25bd9c55c (13 days ago), 2020-07-14 20:26:01 -0400
    • Engine revision 99c2b3a245
    • Dart version 2.9.0 (build 2.9.0-21.0.dev 20bf2fcf56)
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/pedro/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Users/pedro/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.6514223/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Users/pedro/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.6514223/Android
      Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.47.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.1

[✓] Connected device (4 available)
    • AOSP on IA Emulator (mobile) • emulator-5554 • android-x86    • Android 9
      (API 28) (emulator)
    • macOS (desktop)              • macos         • darwin-x64     • Mac OS X
      10.15.5 19F101
    • Web Server (web)             • web-server    • web-javascript • Flutter
      Tools
    • Chrome (web)                 • chrome        • web-javascript • Google
      Chrome 84.0.4147.89

• No issues found!

 flutter doctor -v (stable)
[✓] Flutter (Channel stable, v1.17.5, on Mac OS X 10.15.5 19F101, locale en-AO)
    • Flutter version 1.17.5 at /Users/pedro/dev/SDKs/flutter_stable
    • Framework revision 8af6b2f038 (4 weeks ago), 2020-06-30 12:53:55 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/pedro/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Users/pedro/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.6514223/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Users/pedro/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.6514223/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.47.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.1

[✓] Connected device (1 available)
    • AOSP on IA Emulator • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)

• No issues found!
Process finished with exit code 0

Hi,
Yes, I tried it on:

Xiaomi Redmi Note 5,
LG G2,
Android API 27 Emulator,
Android API 28 Emulator.

The issue persists on all devices.
I just tried it on stable, beta and dev, no difference.
I think it suggests that this could be related to the particular installation of flutter on my computer, but at this point I have not idea what to look for. Unfortunately I have no other computer to install flutter on.

I notices however, that on a physical phone it sometimes takes more "open/close" actions to reset the scroll position.

I was able to reproduce on dev and stable channel, the issue only happens with the following steps:

Open the drawer
Scroll down
Close the drawer
Open the drawer (don't scroll the content)
Close the drawer
Open the drawer and notice that the scroll position was reset.

Tested on Android Emulator API 28.

I am currently investigating this issue.

@n3o2k7i8ch5 This issue because TextField also has a Scrollable widget inside, so you need to give the TextField a PageStorageKey to avoid mutual influence. I modify your code like this, and it works perfectly.
import 'package:flutter/material.dart';

void main() {
  runApp(MyHomePage());
}

class MyHomePage extends StatefulWidget {

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  PageStorageKey key = PageStorageKey<String>('key_app_drawer');
  PageStorageKey key1 = PageStorageKey<String>('key_app_text');
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'Flutter Demo',
        home: Scaffold(
          appBar: AppBar(
            title: Text('PageStorageKey bug app'),
          ),
          drawer: Drawer(
//            key: key,
            child: ListView(
              key: key,
              children: <Widget>[
                Container(height: 700, width: 100, color: Colors.red),
                TextField(key: key1,)
              ],
            ),
          ),
          body: Container(),
        ));

  }
}

@xu-baolin this indeed solves the problem.
I'm not sure whether this should be Flutter's normal behavior?

@xu-baolin this indeed solves the problem.
I'm not sure whether this should be Flutter's normal behavior?
Yes, I think so.

@xu-baolin this indeed solves the problem.
I'm not sure whether this should be Flutter's normal behavior?

I will double check it.

I also faced this issues, and found the same workaround that @xu-baolin did.
I don't think this is the expected behavior by flutter. I cannot imagine anyone that would like to have this effect on their code.

I'm facing a similar issue when using PageStorageKey, It seems to keep the scroll position only one time in two. My view is pretty complex, I can try to add keys everywhere but it's really annoying

@gabrielgarciagava @SebastienBtr Hi you guys,
I will make some changes to improve this situation and make it more developer-friendly.

The issue still persists in flutter 3.3.1.
Adding PageStorageKey to the TextField resolves the issue, but it's extremely unintuitive (I managed to fix this issue in another place only because I stumbled upon my own github issue).

I am able to reproduce the issue
https://user-images.githubusercontent.com/31410839/210291517-8443f83c-06e0-402c-a2fe-62b3033abf79.mov
Provided that this is working as intended as per https://github.com/flutter/flutter/issues/62332#issuecomment-668311961
@xu-baolin do you think this needs further improvements and should be kept open?

code sample
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
          primarySwatch: Colors.blue,
          visualDensity: VisualDensity.adaptivePlatformDensity,
        ),
        home: Scaffold(
          appBar: AppBar(
            title: Text('PageStorageKey bug app'),
          ),
          drawer: Drawer(
            child: ListView(
              physics: BouncingScrollPhysics(),
              key: const PageStorageKey<String>('key_app_drawer'),
              children: <Widget>[
                Container(height: 400, width: 100, color: Colors.red),
                Container(height: 400, width: 100, color: Colors.blue),
                Container(height: 400, width: 100, color: Colors.red),
                Container(height: 400, width: 100, color: Colors.blue),
                Container(height: 400, width: 100, color: Colors.green),
                TextField()
              ],
            ),
          ),
          body: Container(),
        ));
  }
}

flutter doctor -v (mac)
[✓] Flutter (Channel master, 3.7.0-13.0.pre.131, on macOS 13.1 22C65 darwin-arm64, locale en-IN)
    • Flutter version 3.7.0-13.0.pre.131 on channel master at /Users/mahesh/Development/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 0196e6050b (2 days ago), 2022-12-31 11:10:23 -0500
    • Engine revision 932591ec04
    • Dart version 3.0.0 (build 3.0.0-76.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks
      and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.74.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.56.0

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 13.1 22C65 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel stable, 3.3.9, on macOS 12.6 21G115 darwin-arm, locale en-IN)
    • Flutter version 3.3.9 on channel stable at /Users/mahesh/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (24 hours ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.53.20221101

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Related #53040


Add else to the language for cond

Need this to work:
(define factorial
  (lambda (n)
    (cond
      [(zero? n) 1]
      [else (* n (factorial (- n 1)))])))

> (factorial 5)
120

Checked into main directly by accident, whoops!


Times jobs

Description

The changes made in this pull request should be briefly described.
Added TImesJobs which gives information regarding the companies hiring for a particular Job role. Uses Beautiful Soup for getting the contents from the webpage of TimesJobs.

Resolves: [Issue Number]
379
Checklist

Before submitting this pull request, kindly verify that the ensuing checkpoints have been reached.

[x] Have you adhered to the repository's defined coding convention rules?
[x] Have you updated the 'documentation.md' file with the method/function documentation?
[x] Have you sent a message along with the result or response?
[x] Have you used the try-catch technique?
[x] Has the method/class been added to the documentation (md file)?

Screenshots

Uploading a screenshot illustrating the approach you developed for validation is required.

Additional Notes/Comments

Any additional remarks or suggestions concerning this pull request are welcome.
Here we need not print any the result. The result is automatically shown in the terminal or notebook.

I certify that I have carried out the relevant checks and provided the requisite screenshot for validation by submitting this pull request.
I appreciate your contribution.

Shall i request a new PR with the following changes that u have requested for?

I have also changed a few lines of code including changing docstrinig, returning data in JSON format and asking for the Job role required at the time of instantiation. I also added few additional features for checking if the input data is invalid or valid

No @tanishkunigiri | make the changes in this PR only.
Have you already pushed the new changes?

Great work @tanishkunigiri !!
Do not forget to

Share your contribution on socials(twitter mainly), tag us and Clueless 🫂
Give this repository a star ✨
Follow Clueless Community on GitHub ✅


PVPanel shouldn't be a generically dependent continuant

Description of the issue
PVPanel is a generically dependent continuant right now, because its a subclass of ElectricityGeneratorTechnology.
There are two classes PhotovoltaicGenerator (issue #159), how is PVPanel related to them?
Ideas of solution
Move PVPanel to a place somewhere in the Generator class hierarchy.
Workflow checklist

[ ] I discussed the issue with someone else than me before working on a solution
[ ] I already read the latest version of the workflow for this repository
[ ] The goal of this ontology is clear to me

I am aware that

[ ] every entry in the ontology should have an annotation
[ ] classes should arise from concepts rather than from words
[ ] class or property names should follow the UpperCamelCase

Then we can just delete PVPanel?

I think we could keep it as synonym.

ok I'll change it in the #231 pull request because it's such a small change


e2e testing add tests for bulkpublishing

Extended e2e test with bulk publishing test cases

orchestrated - will use the REST API of Industrial IoT Platform (tested with 2.7.199 and 2.7.206)
standalone - will replace published nodes json (tested with 2.8.142-alpha)

earlier released not working based on dotnet/runtime issue 46978

Extend existing TestHelper methods with list of expected OPC UA endpoints
Added method to wait until expected endpoint is found to TestHelper
Enforce ordering of test cases

each test theory has own priority range (50 step width)
avoid async test methods

            "mcr.microsoft.com" : _context.ContainerRegistryConfig.ContainerRegistryServer;

is this a candidate for a string const?

Refers to: e2e-tests/IIoTPlatform-E2E-Tests/deploy/IoTHubPublisherDeployment.cs:64 in db0dbb0. [](commit_id = db0dbb00c5bc2fc8e05cf4c73c756220093b894c, deletion_comment = False)

            "mcr.microsoft.com" : _context.ContainerRegistryConfig.ContainerRegistryServer;

is this a candidate for a string const?

Refers to: e2e-tests/IIoTPlatform-E2E-Tests/deploy/IoTHubPublisherDeployment.cs:64 in db0dbb0. [](commit_id = db0dbb00c5bc2fc8e05cf4c73c756220093b894c, deletion_comment = False)

now with LGTM :-)

now with LGTM :-)


Add support for automated testing

Investigate Travis for performing basic automated testing.

Travis is now enabled for the WA repository and the status is available at: https://travis-ci.org/ARM-software/workload-automation


Just "topics" and "description"

Currently underneath a project description that has topics and a description it says "[checkmark] Github Topics  [checkmark] Github Description".  However the statusboard is flexible and magical and allows for not-github-based projects to be included.  It would perhaps therefore make sense to change this language.

Maybe the /topics/:topic page would be an appropriate place to include a link to the corresponding tag on Discourse (https://discourse.codeforamerica.org/tag/:topic)?  And a project's metadata could include a field for a Discourse wiki and the display would show that link if it existed, and a link to the relevant tags on Discourse if it didn't?

Thanks Melanie, this is a duplicate of #9 , so I am going to close this, and reference your ideas on the other issue.
@themightychris also added helpful notes on pulling from the Discourse API to provide better linking


Incorrect order of samples in distributed test

When use distributed cluster test checkpoint, the test results is different with local test. That should be caused by incorrect samples' order.
I tried outputting the samples' order in evaluate function of BaseDataset, and get results as below (-gres=gpu:8 and samples_per_gpu=32):

After results=np.vstack(results), its order won't still match gt_label's order.

Ok, I have found what causes it.
https://github.com/open-mmlab/mmclassification/blob/affb39fe07309bb1ce27e0f727d92a49dc65da61/mmcls/apis/test.py#L100-L103
Here, if the return value of the head's simple_test is not a list, results will append it.
However, the return value usually includes a batch of results.
Assume there are two gpu, and the batch size is 3.
# if result is list:
results = [1,3,5,7,9,11]     # gpu 0
results = [2,4,6,8,10,12]    # gpu 1
# if result is not list, is an array for example:
results = [array([1, 3, 5]), array([7, 9, 11])]     # gpu 0
results = [array([2, 4, 6]), array([8, 10, 12])]    # gpu 1

After collect_results_gpu, results will become:
# if result is list:
results = [1,2,3,4,5,6,7,8,9,10,11]
# if result is not list, is an array for example:
results = [array([1, 3, 5]), array([2, 4, 6]), array([ 7,  9, 11]), array([ 8, 10, 12])]

Therefore, I think we need assert isinstance(result, list) or to show a warning if the result is not a list.


Cocoapod support and Carthage support no longer work properly together

I had a pull request merged into libPhoneNumber-iOS a while ago that added Carthage support, and allowed Carthage and Cocoapod support to coexist together easily in the same codebase.  However, that's been reverted by https://github.com/iziz/libPhoneNumber-iOS/pull/63
Now, if I want to use Cocoapods and Carthage in the same project, I can no longer use the same syntax for both Cocoapods and Carthage.  With my pull request, you could use "#import <libPhoneNumber/libPhoneNumber.h>" regardless of which package manager you were using.  Now you cannot.
What's the reasoning for the change?  This is extremely annoying.  I don't want to put #ifdefs all over my project whenever I want to use libphonenumber.

Would you give me more detail in "I can no longer use the same syntax for both Cocoapods and Carthage. " ?

Because the pod spec is called "libPhoneNumber-iOS", I have to use #import <libPhoneNumber-iOS/libPhoneNumber.h> when using Cocoapods.  But because frameworks don't support dashes in their name, I have to use #import <libPhoneNumber/libPhoneNumber.h> when using Carthage.  I don't want to spread macros or ifdefs all over my code every time I want to import the libPhoneNumber project, since I have to support both Cocoapods and Carthage still.

Ah, I see... "libPhoneNumber-iOS" is registered name in Cocoapods.
So, all programmers who using "libPhoneNumber-iOS" will have update problems.
Do you have any idea for solve that ? (I have no idea)
And, I have wondering that why are you use libPhoneNumber-iOS with Cocoapods and Carthage together in own project ?

We have to support both because our app on the App Store still has to support iOS 7.  But internally, using Carthage is so much easier because internal users don't have to mess with Cocoapods.
Unfortunately, I know of no way to do this, other than to change the name of the Cocoapods spec (which usually doesn't include "-iOS" anyway).  Maybe the Cocoapods central repo has an internal way to mark a certain pod spec name as an alias of another?  Maybe worth opening an issue with them?

Do you know how to mark a certain pod spec name as an alias of another ?
Anyway, I think you can change your Podfile.
(May below link helps)
https://gist.github.com/daltonclaybrook/e109033af85e6efd6972

And you can add pod/... in "include path"


Moved restart commands outside provider and back into recipes due to …

…issues in 12.4.1 chef client. Some minor comment and typos.

I did a quick test and it seems that this does not result in the services being restarted every run.

The jenkins tests don't check out the branch (I need to look at that). Only way to test this right now in Jenkins is to merge to master (I've tested it by hand).

OK, I might have fixed the version issue (on master Jenkinsfile and 157) - testing now.


[2.2] REST API for vlan-to-location and prefix-to-location M2M

As ...
Austin - Network Automation Engineer
I want ...
To be able to assign a VLAN to multiple Locations, a Prefix to multiple Locations, or a Location to multiple Prefixes/VLANs via the REST API
So that ...
I can achieve appropriate data CRUD operations via the REST API.
I know this is done when...
Dedicated REST API endpoints exist for both of these M2M relations added in 2.2.
Optional - Feature groups this request pertains to.

[ ] Automation
[ ] Circuits
[ ] DCIM
[X] IPAM
[ ] Misc (including Data Sources)
[X] Organization
[ ] Plugins (and other Extensibility)
[ ] Security (Secrets, etc)
[ ] Image Management
[ ] UI/UX
[ ] Documentation
[ ] Other (not directly a platform feature)

Database Changes
Maybe? Not sure if the M2M through tables need to be given explicit data models to facilitate this.
External Dependencies
None

Let's create explicit models for the through tables to avoid complexity with the existing permissions model.
Also assert a naming pattern for M2M through tables going forward. Renaming existing models is out of scope.


Removed the deprecated getName() method in Twig extensions

        /**
         * Returns the name of the extension.
         *
         * @return string The extension name
         *
         * @deprecated since 1.26 (to be removed in 2.0), not used anymore internally
         */
        function getName();

👍


5D Radar Chart Style？

How to set the style of the five-dimensional radar chart？

E.g

Hi @codertiany,
I tried to match your example image as best as I could, and added explanations for what each part of the code does. Hopefully it will be of some help.

The below code results in the following chart
Your example chart

RadarChart(
  RadarChartData(
    titlePositionPercentageOffset: 0.2,       // Set the distance between the graph edge and the titles text
    radarBackgroundColor: Colors.transparent, // Set the background color of the graph to be transparent
    radarShape: RadarShape.polygon,           // Set the shape of the graph to be a polygon (instead of the default circle)
    radarBorderData: const BorderSide(
      color: Colors.grey,   // Set the color of outermost tick line
      width: 0.5,           // Set the width of outermost tick line
    ),
    tickCount: 5,           // Set the number of tick lines that go around the center
    tickBorderData: const BorderSide(
      color: Colors.grey,   // Set the color of inside tick lines that go around the center
      width: 0.5,           // Set the width of inside tick lines that go around the center
    ),
    ticksTextStyle: const TextStyle(
      color: Colors.black,         // Set the color of the tick text (numbers shown inside the chart)
      fontWeight: FontWeight.w500, // Set the font weight of the tick text (numbers shown inside the chart)
      fontSize: 9,                 // Set the font size of the tick text (numbers shown inside the chart)
    ),
    gridBorderData: const BorderSide(
      color: Colors.grey, // Set the color of the grid lines that expand out from the center
      width: 1,           // Set the width of the grid lines that expand out from the center
    ),
    titleTextStyle: const TextStyle(
      color: Colors.black,         // Set the color of the title text that goes around the chart
      fontWeight: FontWeight.w500, // Set the font weight of the title text that goes around the chart
      fontSize: 11,                // Set the font size of the title text that goes around the chart
    ),
    getTitle: (index, angle) {     // Set the title text that goes around the chart
      const List<String> titleSuffixes =
        ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I'];

      return RadarChartTitle(text: 'Party ${titleSuffixes[index]}');
    },
    dataSets: [
      RadarDataSet(
        fillColor: const Color.fromARGB(63, 193, 255, 134),    // Set the color inside the data
        borderColor: const Color.fromARGB(255, 193, 255, 134), // Set the color of the data's border
        borderWidth: 2, // Set the width of the data's border
        entryRadius: 0, // Set the radius of the data points (size of the dots) to be 0 to hide them
        dataEntries: [
          const RadarEntry(value: 215),
          const RadarEntry(value: 105),
          const RadarEntry(value: 150),
          const RadarEntry(value: 150),
          const RadarEntry(value: 160),
          const RadarEntry(value: 150),
          const RadarEntry(value: 110),
          const RadarEntry(value: 195),
          const RadarEntry(value: 200),
        ],
      ),
      RadarDataSet(
        fillColor: const Color.fromARGB(63, 255, 134, 148), // Set the color inside the data
        borderColor:  const Color.fromARGB(255, 255, 134, 148), // Set the color of the data's border
        borderWidth: 2, // Set the width of the data's border
        entryRadius: 0, // Set the radius of the data points (size of the dots) to be 0 to hide them
        dataEntries: [
          const RadarEntry(value: 120),
          const RadarEntry(value: 160),
          const RadarEntry(value: 115),
          const RadarEntry(value: 115),
          const RadarEntry(value: 205),
          const RadarEntry(value: 120),
          const RadarEntry(value: 205),
          const RadarEntry(value: 105),
          const RadarEntry(value: 205),
        ],
      ),
    ],
  ),
)

If this isn't what you had in mind, could you provide some more details about what you would like the chart to look like?
For instance, are you asking about making the chart have five sides, five ticks, a different shape, etc.


Fixed when helper method argument was None (#15) (for diff)

This PR is just for seeing the diff. See the original #16


Clean Up Fields - ENERGY USE COMPARED TO AVG

Looks like there are two quick updates that might help this chart:
I think the building type average is still pulling from the old field building_type_eui. Can you update to building_type_eui_wn so it's consistent with the trend line below and other references?

And I believe the % higher or lower pulls from the raw data - but the code Tom built for the card at the header is more accurate and would cause less display errors for this chart

┆Issue is synchronized with this Asana task

This appears to be done


chore: replace all mocked actions with real impls, update hub message…

… shape
Issue #, if available:
N/A
Description of changes:

Replace all mocked action imports with ui-react/internal implementations.
Remove locally stubbed methods.
Update test structure to listen to new hub message shape.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #391 (d11690f) into tagged-release/q1-release (d6acc19) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@                      Coverage Diff                      @@
##           tagged-release/q1-release     #391      +/-   ##
=============================================================
- Coverage                      93.64%   93.63%   -0.01%
=============================================================
  Files                             43       43
  Lines                           1636     1635       -1
  Branches                         352      352
=============================================================
- Hits                            1532     1531       -1
  Misses                           102      102
  Partials                           2        2

Impacted Files
Coverage Δ

...ges/codegen-ui-react/lib/imports/import-mapping.ts
100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d6acc19...d11690f. Read the comment docs.